amazon-price

फ्रीमियम
द्वारा Dhananjoy Biswas | अपडेट किया गया 4 days ago | eCommerce
लोकप्रियता

7.7 / 10

लेटेंसी

2,218ms

सेवा का स्तर

100%

Health Check

N/A

सभी चर्चाओं पर वापस जाएं

Parse Error - Bulk Data API

Rapid account: Adivity
adivity
4 years ago

req.query({
“asins”: “B07GL45JHQ”,
“marketplace”: “US”
});

Bulk Data API is returning an error:

{1 item
"error":“Parse Error”
}

Rapid account: Ebappa 1971
ebappa1971 Commented 4 years ago

It’s fixed now! If you’re still facing this, just unsubscribe and then resubscribe again.

(Details: there was a problem with header names in RapidAPI platform, I’ve updated the header names but old account still might use problematic header names. Resubscribing will solve this problem)

Rapid account: Adivity
adivity Commented 4 years ago

I tried on my computer, can’t seem to get it to work.

I’m trying with Axios SDK on Node 10

{
message: "Parse Error",
name: "Error",
stack: "Error: Parse Error at TLSSocket.socketOnData (_http_client.js:442:20) at TLSSocket.emit (events.js:189:13) at addChunk (_stream_readable.js:284:12) at readableAddChunk (_stream_readable.js:265:11) at TLSSocket.Readable.push (_stream_readable.js:220:10) at TLSWrap.onStreamRead (internal/stream_base_commons.js:94:17)",
config: {
url: "https://amazon-price.p.rapidapi.com/azapi-bulkPrice",
method: "get",
params: {
asins: "B07FY1VJ99",
marketplace: "US"
},
headers: {
Accept: "application/json, text/plain, */*",
x-rapidapi-host: "amazon-price.p.rapidapi.com",
x-rapidapi-key: "my_key_goes_here",
useQueryString: true,
Content-Type: "application/octet-stream",
User-Agent: "axios/0.19.2"
},
transformRequest: [
null
],
transformResponse: [
null
],
timeout: 0,
xsrfCookieName: "XSRF-TOKEN",
xsrfHeaderName: "X-XSRF-TOKEN",
maxContentLength: -1
},
code: "HPE_INVALID_HEADER_TOKEN"
}
Rapid account: Ebappa 1971
ebappa1971 Commented 4 years ago

Please check this discussion - https://rapidapi.com/ebappa1971/api/amazon-price/discussions/13900/API-keep-returning-Parse-Error
It just happens in the RapidAPI website. If you use some sdk or programatically call the API it should work fine.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें