social media video downloader

फ्रीमियम
द्वारा ugoBoy | अपडेट किया गया 12일 전 | Social
लोकप्रियता

9.8 / 10

लेटेंसी

2,508ms

सेवा का स्तर

100%

Health Check

91%

सभी चर्चाओं पर वापस जाएं

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

Rapid account: Iibrahimj 2001
iibrahimj2001
3달 전

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 3달 전

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 3달 전

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 3달 전

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?

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें