social media video downloader

부분 유료
분류별 ugoBoy | 업데이트됨 il y a 12 jours | Social
인기

9.8 / 10

지연 시간

2,531ms

서비스 수준

100%

Health Check

91%

모든 토론으로 돌아가기

Endpoint does not exist {'message': "Endpoint '/smvd/get/all' does not exist"}

Rapid account: Iibrahimj 2001
iibrahimj2001
il y a 3 mois

The API works fine when I use it locally, but after deployment, I get this message:

{‘message’: “Endpoint ‘/smvd/get/all’ does not exist”}

How can I fix this?

Rapid account: Ugo Boy
ugoBoy Commented il y a 3 mois

i looks like you’re using the v2 api key locally and using the v1 api key on your server. if so, update the server api key to v2(the one you’re using locally).

if it doesn’t work, try changing the endpoint to ‘https://social-media-video-downloader.p.rapidapi.com/api/getSocialVideo

Rapid account: Iibrahimj 2001
iibrahimj2001 Commented il y a 3 mois

When running my Flask server locally, everything works fine. However, upon deployment, I encounter one of two errors intermittently:
Error 1:
{‘message’: “Endpoint ‘/smvd/get/all’ does not exist”}

or sometimes i get the following response:
Error 2:
[Wed Mar 27 11:42:31.347112 2024] [wsgi:error] [pid 1308972:tid 140678155724352] [client 172.69.242.136:60166] {‘success’: False, ‘src_url’: ‘https://www.tiktok.com/CLIENT_ERROR’, ‘message’: ‘video is unavailable, err(Unexpected end of JSON input)’, ‘timeTaken’: ‘4812ms’, ‘r_id’: ‘KCqlOGvjoRjRsSxHOKIiapwYe’}

I am using the following Tiktok link:
https://www.tiktok.com/@food_exploration_umair/video/7348379436003233026?_t=8kzpqZYnEwB&_r=1

Python code to send request:
endpoint = "https://social-media-video-downloader.p.rapidapi.com/smvd/get/all"
querystring = {“url”: url}
headers = {
“X-RapidAPI-Key”: my_api_key,
“X-RapidAPI-Host”: “social-media-video-downloader.p.rapidapi.com
}
response = requests.get(endpoint, headers=headers, params=querystring)

Rapid account: Ugo Boy
ugoBoy Commented il y a 3 mois

Did you pass all the required parameters?
Make sure you created an app for v2 in the api’s rapidapi page and copy the code example for running it with your preferred programming language.
Can you show me how you’re making the request?

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

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