You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce, run the example for getShippingCosts and the following error will be shown.
Expected Behavior
No errors, return of shipping cost.
Actual Behavior
error: [
{
"ShortMessage": "Token not available in request.",
"LongMessage": "Token not available in request. Please specify a valid token as HTTP header.",
"ErrorCode": "1.33",
"SeverityCode": "Error",
"ErrorClassification": "RequestError"
}
I think the update to eBay policy regarding token in the header X-EBAY-API-IAF-TOKEN will have an affect on some other of the functions.
Modify each failing fnction like getShippingCosts to include something
if (!this.options.appAccessToken)
throw new Error('Missing Access token, Generate access token');
const auth = 'Bearer ' + this.options.appAccessToken;
return getRequest(url, auth).then(...
It looks like these are both endpoints of the shopping API.
eBay Partner Network will no longer support eBay’s Finding API, Shopping API or Trading API, into the new year. The deadline to migrate off these APIs has come.
Today - Email from ebay.
Doh, it looks like a bunch of these functions will no longer work soon. @pajaydev
Issue
Steps to reproduce
Ebay has introduced a new requirement for the token to be set in header property
X-EBAY-API-IAF-TOKEN
.See: https://developer.ebay.com/Devzone/shopping/docs/CallRef/GetSingleItem.html
To reproduce, run the example for getShippingCosts and the following error will be shown.
Expected Behavior
No errors, return of shipping cost.
Actual Behavior
I think the update to eBay policy regarding token in the header
X-EBAY-API-IAF-TOKEN
will have an affect on some other of the functions.Modify each failing fnction like
getShippingCosts
to include somethingAnd,
What do you think is a good solution to this?
The text was updated successfully, but these errors were encountered: