RocketAPI for Instagram

GRATIS CON POSSIBILITÀ DI UPGRADE
Verified
Da RocketAPI | Aggiornamento 7 месяцев назад | Social
Popolarità

9.9 / 10

Latenza

2,013ms

Livello di servizio

100%

Health Check

N/A

Torna a tutte le discussioni

I got 451 error from api

Rapid account: Olegor Jum Y Am R 9 U
olegor-JumYAmR9U
7 месяцев назад


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 7 месяцев назад

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

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti