Amazon Pricing and Product Info

FREEMIUM
Durch vitototti | Aktualisiert a month ago | eCommerce
Popularität

9.3 / 10

Latenz

1,866ms

Service Level

100%

Health Check

N/A

Zurück zu allen Diskussionen

200 Response With Undefined Data

Rapid account: Headiez
headiez
5 months ago

Hi, I’m gettng intermittent responses from the API that return a 200 status code but don’t have any data. However, upon manually retrying the request I recieve data for the passed ASIN/domain. This has caused my account to go over it’s quota.

For example:
{
“status”: 200,
“statusText”: “OK”,
“headers”: {
“date”: “Wed, 20 Dec 2023 17:10:02 GMT”,
“content-type”: “application/json”,
“content-length”: “206”,
“connection”: “keep-alive”,
“x-amzn-requestid”: “f9a195fa-36ea-4a95-9efe-3fd32f2394e9”,
“x-amzn-trace-id”: “Root=1-65831fe9-74081b3711480e9a499bd2e5;Sampled=0;lineage=44bbcf68:0”,
“x-amz-apigw-id”: “QQHsmGnCFiAEV2g=”,
“x-ratelimit-full-product-info-request-limit”: “…”,
“x-ratelimit-full-product-info-request-remaining”: “…”,
“x-ratelimit-full-product-info-request-reset”: “…”,
“server”: “RapidAPI-1.2.8”,
“x-rapidapi-version”: “1.2.8”,
“x-rapidapi-region”: “AWS - us-east-1”
},
“config”: {
“transitional”: {
“silentJSONParsing”: true,
“forcedJSONParsing”: true,
“clarifyTimeoutError”: false
},
“adapter”: [“xhr”, “http”],
“transformRequest”: [Function: transformRequest],
“transformResponse”: [Function: transformResponse],
“timeout”: 0,
“xsrfCookieName”: “XSRF-TOKEN”,
“xsrfHeaderName”: “X-XSRF-TOKEN”,
“maxContentLength”: -1,
“maxBodyLength”: -1,
“env”: {
“FormData”: [Function],
“Blob”: [class Blob]
},
“validateStatus”: [Function: validateStatus],
“headers”: {
“Accept”: “application/json, text/plain, /”,
“Content-Type”: undefined,
“X-RapidAPI-Key”: “…”,
“X-RapidAPI-Host”: “…”,
“User-Agent”: “axios/1.6.2”,
“Accept-Encoding”: “gzip, compress, deflate, br”
},
“method”: “get”,
“url”: “https://amazon-pricing-and-product-info.p.rapidapi.com/”,
“params”: {
“asin”: “B004ULN2I2”,
“domain”: “com”
},
“data”: undefined
},
“request”: {
"_events": {
“abort”: [Function (anonymous)],
“aborted”: [Function (anonymous)],
“connect”: [Function (anonymous)],
“error”: [Function (anonymous)],
“socket”: [Function (anonymous)],
“timeout”: [Function (anonymous)],
“finish”: [Function: requestOnFinish]
},
"_eventsCount": 7,
“outputData”: [],
“outputSize”: 0,
“writable”: true,
“destroyed”: true,
"_last": true,
“chunkedEncoding”: false,
“shouldKeepAlive”: true,
“maxRequestsOnConnectionReached”: false,
"_defaultKeepAlive": true,
“useChunkedEncodingByDefault”: false,
“sendDate”: false,
"_removedConnection": false,
"_removedContLen": false,
"_removedTE": false,
“strictContentLength”: false,
"_contentLength": 0,
"_hasBody": true,
"_trailer": ‘’,
“finished”: true,
"_headerSent": true,
"_closed": true,
“timeout”: 5000,
“path”: “/?asin=B004ULN2I2&domain=com”,
“upgrade”: false
},
}

Rapid account: Headiez
headiez Commented 5 months ago

Hi, thank you for the quick response & for modifying the response code. I’ll let you know if I see any other issues moving forward.

Rapid account: Vitototti
vitototti Commented 5 months ago

Hi, found your request in the logs.
It had errors:

“responseErrors”:"Please try again later or contact developer. Error id: 865"
“responseData”:“Please fix errors first”

In that particular case the problem was rate limits. But actually it would be more clear if response code was indicating that, too. I will therefore change the response code from 200 to 429 in that particular case.


Also if you were charged extra for the calls above your limit - send me a request and I will refund all of them.
And for the next 30 days I will temporary increase your rate limits. I have invited you to a private plan with 2x your current rate limits at the same price, so that you can make sure everything works fine.

Regards

Nehmen Sie an der Diskussion teil - fügen Sie unten einen Kommentar hinzu:

Anmelden / Registrieren, um neue Kommentare zu veröffentlichen