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!
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Leon
on October 4, 2022 at 3:16 PM
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
###
.Reply by btraversy
on October 4, 2022 at 3:16 PM
Sure
https://api.themoviedb.org/3/search/movie?query=orphan?api_key=xxxx&language=en-US
Reply by ticao2 š§š· pt-BR
on October 4, 2022 at 5:47 PM
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 &.