social media video downloader

GRATIS CON POSSIBILITÀ DI UPGRADE
Da ugoBoy | Aggiornamento il y a 12 jours | Social
Popolarità

9.8 / 10

Latenza

2,531ms

Livello di servizio

100%

Health Check

91%

Torna a tutte le discussioni

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?

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti