I am creating a new android application, as soon as the user opens the app, the app will request a new guest session api. Then, the app will use this new api, to request the 'discover' movies. The response that I get from the servers is:
"status_message": "Invalid API key: You must be granted a valid key.",
"success": false,
"status_code": 7
Why am I getting this error? This error is solved when I use my original api to make the request....
Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.
Vēlies novērtēt šo vienumu vai pievienot to sarakstam?
Neesi dalībnieks?
Atbilde no Travis Bell
on marts 4, 2017 at 12:24 PM
Discover is only authenticated with your API key.
Guest sessions are for account related functionality. Even if/when you use a guest session feature, you'll still need to use your API key.
Atbilde no Priyansh
on marts 5, 2017 at 4:54 AM
So what is the use of the guest session API??
Atbilde no Travis Bell
on marts 5, 2017 at 10:19 AM
To have some account functionality without signing up for an account.
You can read more about this here: https://developers.themoviedb.org/3/getting-started/authentication