Hi, I just noticed that for lists created with the public field set to false, I am not able to retrieve its details with the same Bearer token I used to create it. The api returns 401. Logging out and in again didn't help either Cheers
Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.
Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;
Δεν είσαι μέλος;
Απάντηση από τον/την Ema
στις 25 Φεβρουάριος 2017 στις 05:23 ΕΊΜΑΙ
bump
Απάντηση από τον/την Ema
στις 8 Απρίλιος 2017 στις 07:33 ΕΊΜΑΙ
Hi, any update on this ? if from the app I create a list with public field set to false, I am not able to access its content. I always get 401. When the public field is set to true I can access its content as always.
the version of the api I am using for lists is v4. POST /auth/access_token is successful and I am getting an access_token
Please advise Cheers
Απάντηση από τον/την Travis Bell
στις 18 Απρίλιος 2017 στις 07:26 ΜΜ
I'll be looking at this tomorrow. I'm finally get caught up with requests from a few months ago
Απάντηση από τον/την Travis Bell
στις 18 Απρίλιος 2017 στις 11:03 ΜΜ
Can you give this a try now? I setup a test script and it's working for me after I made a small change.
You can see my v4 list test script here.
Απάντηση από τον/την Ema
στις 19 Απρίλιος 2017 στις 04:13 ΕΊΜΑΙ
Hi @travisbell , the script works. On my app, it still doesn't. I am able to add movies to the list and retrive them correctly on the website.
Please advise Cheers
Απάντηση από τον/την Travis Bell
στις 19 Απρίλιος 2017 στις 10:01 ΕΊΜΑΙ
Take a look at the source code of the script, it's all there so you can see what you're doing differently than I am.
Απάντηση από τον/την Ema
στις 19 Απρίλιος 2017 στις 10:15 ΕΊΜΑΙ
Fair point . I will have another look to my code as soon as I get back home tonight . Thanks
Απάντηση από τον/την Ema
στις 19 Απρίλιος 2017 στις 01:20 ΜΜ
I checked again, and we are calling the same endpoint in the same way. Still, for same reason I am always getting 401 back. The same token is working with the script, but it is not working on
https://developers.themoviedb.org/4/list
. Could somehow be related ?Thanks
Απάντηση από τον/την Travis Bell
στις 19 Απρίλιος 2017 στις 01:25 ΜΜ
Post your code.
Απάντηση από τον/την Ema
στις 19 Απρίλιος 2017 στις 01:34 ΜΜ
This is the definition of the end point
Each request gets
the rest client is called Retrofit and it is from square.
works correctly.
Curl
returns
Απάντηση από τον/την Travis Bell
στις 19 Απρίλιος 2017 στις 02:20 ΜΜ
If you're getting the private message, you're not using a properly signed access token (for that user). My guess would be that you're trying to access it with your account's read token. Especially if you can see that the token is working in my sample script.
Απάντηση από τον/την Ema
στις 19 Απρίλιος 2017 στις 02:27 ΜΜ
I'll check that again. If that was the case, would I still be able to add items to a list?
Thanks
Απάντηση από τον/την Ema
στις 21 Μάιος 2017 στις 03:30 ΜΜ
After serveral attemps I found out that the culprit was the api key. Removing it from the url fixed my issue.
Best
Απάντηση από τον/την Travis Bell
στις 23 Μάιος 2017 στις 11:15 ΕΊΜΑΙ
Nice, good find! Yes, now that I think about it, the API key (if present) will probably be used as your auth token. Something for me to remember moving forward
Απάντηση από τον/την Ema
στις 23 Μάιος 2017 στις 12:18 ΜΜ
thanks for the quick feedback @travisbell . How long do you think will it take to have both v3 and v4 working with the new authentication system?