Ebay api post/get workflow

Hello, has anyone successfully made a ebay post or get request? Im able to get the access token and refresh token but when i attempt to use the token to make any other request I get the following error message… tried looking online on stackexchange and the ebay dev forum but wasnt able to find the answer. Anyone else have this issue? Also tried making the call in postman… also unsuccessful.

46%20PM

Try formatting the access token in URL encode and put if in the URL

tried it out. According to the Documentation, the token is supposed to be in the header not the URL.

{
“errors”: [
{
“errorId”: 1002,
“domain”: “OAuth”,
“category”: “REQUEST”,
“message”: “Missing access token”,
“longMessage”: “Access token is missing in the Authorization HTTP request header.”
}
]

is the error response given when i URL encode the token and place it in the URL as a parameter.

Get request–>

URL:
https://api.sandbox.ebay.com/sell/fulfillment/v1/order?Authorization=v^1.1%23i^1%23I^3%23p^3%23f^0%23r^0%23t^H4sIAAAAAAAAAO

Headers:
Content-Type: application/json

https://api.sandbox.ebay.com/sell/fulfillment/v1/order?Authorization=v^1.1%23i^1%23I^3%23p^3%23f

sorry the request URL i used was this…

This topic was automatically closed after 70 days. New replies are no longer allowed.