amazon-price

부분 유료
분류별 Dhananjoy Biswas | 업데이트됨 4달 전 | eCommerce
인기

8.7 / 10

지연 시간

3,092ms

서비스 수준

100%

모든 토론으로 돌아가기

Parse Error - Bulk Data API

avatar
adivity
2년 전

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

Bulk Data API is returning an error:

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

avatar
ebappa1971 commented 2년 전

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)

avatar
adivity commented 2년 전

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"
}
avatar
ebappa1971 commented 2년 전

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.

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입
등급: 5 - 투표: 1