amazon-price

FREEMIUM
От Dhananjoy Biswas | Обновлено 4 дня назад | eCommerce
Популярность

7.7 / 10

Задержка

2,218ms

Уровень обслуживания

100%

Health Check

N/A

Назад ко всем обсуждениям

Parse Error - Bulk Data API

Rapid account: Adivity
adivity
4 года назад

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 года назад

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 года назад

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 года назад

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.

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии