01-20-2025 12:38 AM - edited 01-20-2025 05:01 AM
Hello,
first of all I am not entirely sure, this is the correct Subforum. There is no sub for media and "Compliance" sounds like a question loosely related to GPSR might fit in here.
Now the Problem.
I'm trying to create a Document via this Method: https://developer.ebay.com/api-docs/commerce/media/resources/document/methods/createDocument
Since only a single Document is necessary I use Postman. The Oauth Token is attached:
and the Body looks like this:
{
"documentType": "INSTRUCTIONS_FOR_USE",
"languages": ["GERMAN", "ENGLISH", "FRENCH", "SPANISH", "ITALIAN", "DUTCH", "POLISH", "OTHER"]
}
I use the same token we use for product uploads so it definitely is valid.
Since the documentation has not mentioned any other data that would need to be added to the header I assumed that the Oauth would take care of identifying the account and such.
After getting HTTP Status 500 - Internal Server Error several times i added the X-EBAY-API-headers we additionally use elsewhere
and tried around which headers might be the problem but so far i could not make a successful call.
I hope somebody can help with this, I am clearly overlooking something but i cannot find out what.
edit: I tried using the Ebay-Api-Explorer and after what I assume is a correct call, with the Usual Oauth-Token and the body
I get this error message:
edit2: I tried getting another Application Token as it was mentioned in the documentation, however, when I entered that i got the following Error Message in the Api Explorer:
"Something went wrong. Please try again later."