RocketAPI for Instagram

부분 유료
Verified
분류별 RocketAPI | 업데이트됨 10 months ago | Social
인기

9.9 / 10

지연 시간

1,938ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

I got 451 error from api

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

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

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입