cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Attempts to create a document (for GPSR) results in HTTP Status 500 – Internal Server Error

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:

autoteileokzam_0-1737361638444.png

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

autoteileokzam_1-1737362183982.png

 

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

autoteileokzam_1-1737370847961.png

 

I get this error message:

autoteileokzam_0-1737370774964.png

 

 

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."

Message 1 of 1
latest reply
0 REPLIES 0