Hi,
Currently using API to make movie and tv shows discover requests. API request that I have been using for months suddenly stopped working. Below is an example of such request with filters:
Any reason why a request like the one above used to work but not anymore?
Thank you
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת ticao2 🇧🇷 pt-BR
ב-אוגוסט 27, 2023 ב-9:42לפני חצות יום
Try correcting your last 2 parameters.
language=en-US®ion=US
תגובה מאת Gil2599
ב-אוגוסט 27, 2023 ב-2:41אחרי חצות יום
Still nothing:
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_genres=&primary_release_date.gte=&primary_release_date.lte=&with_watch_providers=8&watch_region=us&sort_by=popularity.desc&page=1&language=en-US®ion=US
Perhaps something changed on backend where API functionality changed? Exact request above used to work fine.
תגובה מאת ticao2 🇧🇷 pt-BR
ב-אוגוסט 28, 2023 ב-7:02לפני חצות יום
In your last example, several parameter values are missing.
Let's compare your first example, the one at the beginning of this conversation.
Yours is 1. Mine is 2.
The Country of &watch_region=US is also capitalized.
תגובה מאת Travis Bell
ב-אוגוסט 28, 2023 ב-12:29אחרי חצות יום
Indeed, the query #2 above (from @ticao2) is returning 337 results. What about that is not what you expect?
Request
Response
תגובה מאת Gil2599
ב-אוגוסט 29, 2023 ב-3:19לפני חצות יום
After further testing, it seems like watch_region parameter must be capitalized. Language does not need to be in en-US format (simply en works). Apologies for the bug report as it still works when formatted correctly. Documentation on this would help others in the feature. Following request works as expected:
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&with_genres=&primary_release_date.gte=&primary_release_date.lte=&with_watch_providers=8&watch_region=US&sort_by=popularity.desc&page=1&language=en®ion=US
Thread can be closed.