RocketAPI for Instagram

FREEMIUM
Verified
āœ“
Door RocketAPI | Bijgewerkt hace 21 dĆ­as | Social
Populariteit

9.9 / 10

Latency

2,572ms

Serviceniveau

100%

Health Check

N/A

Terug naar alle discussies

I got 451 error from api

Rapid account: Olegor Jum Y Am R 9 U
olegor-JumYAmR9U
hace un aƱo


Here is example of 451 response.
request params:
{
method: ā€˜POSTā€™,
url: ā€˜https://rocketapi-for-instagram.p.rapidapi.com/instagram/user/get_mediaā€™,
headers: {
ā€˜content-typeā€™: ā€˜application/jsonā€™,
ā€˜X-RapidAPI-Keyā€™: ā€˜Your_keyā€™,
ā€˜X-RapidAPI-Hostā€™: ā€˜rocketapi-for-instagram.p.rapidapi.comā€™
},
data: { id: 212521367, count: 50, max_id: ā€˜2966171025477845404_212521367ā€™ },
timeout: 180000
}
response error: error {
ā€œmessageā€: ā€œRequest failed with status code 451ā€,
ā€œnameā€: ā€œAxiosErrorā€,
ā€œstackā€: ā€œAxiosError: Request failed with status code 451\n at settle (/var/www/app/node_modules/axios/dist/node/axios.cjs:1902:12)\n at IncomingMessage.handleStreamEnd (/var/www/app/node_modules/axios/dist/node/axios.cjs:2954:11)\n at IncomingMessage.emit (node:events:539:35)\n at endReadableNT (node:internal/streams/readable:1345:12)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)ā€,
ā€œconfigā€: {
ā€œtransitionalā€: {
ā€œsilentJSONParsingā€: true,
ā€œforcedJSONParsingā€: true,
ā€œclarifyTimeoutErrorā€: false
},
ā€œadapterā€: [
ā€œxhrā€,
ā€œhttpā€
],
ā€œtransformRequestā€: [
null
],
ā€œtransformResponseā€: [
null
],
ā€œtimeoutā€: 180000,
ā€œxsrfCookieNameā€: ā€œXSRF-TOKENā€,
ā€œxsrfHeaderNameā€: ā€œX-XSRF-TOKENā€,
ā€œmaxContentLengthā€: -1,
ā€œmaxBodyLengthā€: -1,
ā€œenvā€: {
ā€œBlobā€: null
},
ā€œheadersā€: {
ā€œAcceptā€: ā€œapplication/json, text/plain, /ā€,
ā€œContent-Typeā€: ā€œapplication/jsonā€,
ā€œX-RapidAPI-Keyā€: ā€œYour_keyā€,
ā€œX-RapidAPI-Hostā€: ā€œrocketapi-for-instagram.p.rapidapi.comā€,
ā€œUser-Agentā€: ā€œaxios/1.3.6ā€,
ā€œContent-Lengthā€: ā€œ41ā€,
ā€œAccept-Encodingā€: ā€œgzip, compress, deflate, brā€
},
ā€œmethodā€: ā€œpostā€,
ā€œurlā€: ā€œhttps://rocketapi-for-instagram.p.rapidapi.com/instagram/user/get_mediaā€,
ā€œdataā€: ā€œ{ā€œidā€:184692323,ā€œcountā€:50,ā€œmax_idā€:null}ā€
},
ā€œcodeā€: ā€œERR_BAD_REQUESTā€,
ā€œstatusā€: 451
}

Rapid account: Rocketapi
rocketapi Commented hace un aƱo

Hello! This error is not from our API. We never return the 451 error. Contact RapidAPI support if the problem recurs.

Doe mee aan de discussie - voeg hieronder een opmerking toe

Log in / Schrij u in om nieuwe opmerkingen te plaatsen