RocketAPI for Instagram

FREEMIUM
Verified
Par RocketAPI | Mise à jour 7 months ago | Social
Popularité

9.9 / 10

Latence

1,978ms

Niveau de service

100%

Health Check

N/A

Retour à toutes les discussions

I got 451 error from api

Rapid account: Olegor Jum Y Am R 9 U
olegor-JumYAmR9U
7 months 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 7 months ago

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

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires