RocketAPI for Instagram

ÜCRETSİZ PREMIUM
Verified
Taraf RocketAPI | Güncelleyen 8 days ago | Social
Popülerlik

9.9 / 10

Gecikme

2,277ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

I got 451 error from api

Rapid account: Olegor Jum Y Am R 9 U
olegor-JumYAmR9U
a year ago


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 a year ago

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

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun