I did not run into issues with this. The only reason why I could see this happening is that you are sending the api request to www.cursforge.com instead of gamename.curseforge.com.
So I was wanting to automatically upload a file, to one of my projects, via the CurseForge API. I ran into an issue where it gave me the error code of:
{'errorCode': 1002, 'errorMessage': 'Error in field `metadata`:\nInvalid JSON.'}
0
You might need to create a curseforge support ticket for this.
0
In reply to 阿斯蘭:
I did not run into issues with this. The only reason why I could see this happening is that you are sending the api request to www.cursforge.com instead of gamename.curseforge.com.
0
Wait I needed to make the changelog type just a string and dump the metadata as a string.
0
So I was wanting to automatically upload a file, to one of my projects, via the CurseForge API. I ran into an issue where it gave me the error code of:
Here is the metadata:
Request:
I am using python with the request library. Does anyone know why this would happen?