Hey there,
My app is fetching data just fine, but when I try and search, I get a 401 unauthorized and it says that I need a valid API key. Do I need specific permissions for search or something? thank you!
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Leon
il 4 ottobre, 2022 alle 3:16PM
Hi, you shouldn't need special permissions.
Could you please post an example URL for a request you're experiencing problems with? Remember to replace your API key with a placeholder like
###
.Risposta da btraversy
il 4 ottobre, 2022 alle 3:16PM
Sure
https://api.themoviedb.org/3/search/movie?query=orphan?api_key=xxxx&language=en-US
Risposta da ticao2 🇧🇷 pt-BR
il 4 ottobre, 2022 alle 5:47PM
The first value after the question mark does not need the & character but all others do.
You used a question mark when you should have used &.