social media video downloader

FREEMIUM
От 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?

Присоединяйтесь к обсуждению – добавьте комментарий ниже:

Войдите / Зарегистрируйтесь, чтобы публиковать новые комментарии