Since earlier today, I'm getting results that seem invalid JSON.
(At least unmarshalling in Go(lang) doesn't like this)
For example, with one: https://api.themoviedb.org/3/movie/114478?api_key=xxx&language=en-US&append_to_response=recommendations
For the genre_id I expect a struct/array. So when it's empty, it should return "genre_ids": []
However, I see a mixture of:
"genre_ids": {}, and "genre_ids": [],
I think I saw this with origin_country for TV Shows as well.
Did something change?
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от Travis Bell
, 18 января 2018 в 21:37
Hi @MarcoTC,
Yes, I know why this is happening. I'll spend some time tonight/tomorrow morning looking into it.
Ответ от Travis Bell
, 18 января 2018 в 22:23
This is fixed for the movie and TV recommendation methods. You'll have to wait for the cache to expire (~6 or so hours) but everything should be returning a proper empty array now.
Let me know if you see this on any other methods.
Cheers.
Ответ от tmdb25052156
, 19 января 2018 в 15:38
All looks good. Thanks!
Ответ от tmdb25052156
, 19 января 2018 в 17:15
Sorry, I talked to soon.
The same issue is with origin_country
For example: https://api.themoviedb.org/3/tv/46639?api_key=xxx&language=en-US&append_to_response=recommendations
Ответ от Travis Bell
, 19 января 2018 в 18:11
Groovy, I'll tweak that one as well.
Ответ от tmdb25052156
, 10 марта 2018 в 03:26
The genre issue is back but it's now in collections.
Here's an example:
https://api.themoviedb.org/3/collection/435259?api_key=xxxx&language=en-US
Ответ от Travis Bell
, 10 марта 2018 в 09:45
Collections should be fixed now.
Ответ от tmdb25052156
, 10 марта 2018 в 09:47
Thank you!
Ответ от tmdb25052156
, 26 июля 2018 в 00:34
Hello Travis,
The issue is back. I am getting both "genre_ids": {}, and "genre_ids": [],
I'm seeing it in recommendations but I'm not sure if it's in others as well. Could you please have a look?
Ответ от Travis Bell
, 26 июля 2018 в 01:26
I know why it's showing up again and will look at it first thing tomorrow morning. Thanks Marco.
Ответ от Travis Bell
, 30 июля 2018 в 13:02
Hey Marco,
Are you seeing this anymore?
Ответ от tmdb25052156
, 31 июля 2018 в 16:21
No. All is working great again.
Thanks!