Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

note field should be nullable or have a default value #2

Closed
Nevercom opened this issue Aug 4, 2021 · 1 comment
Closed

note field should be nullable or have a default value #2

Nevercom opened this issue Aug 4, 2021 · 1 comment

Comments

@Nevercom
Copy link
Contributor

Nevercom commented Aug 4, 2021

TMDB API: release_dates
Sample Request: https://api.themoviedb.org/3/movie/240/release_dates

{
    "iso_3166_1": "PT",
    "release_dates": [
    {
        "certification": "M/16",
        "iso_639_1": "en",
        "release_date": "1977-10-14T00:00:00.000Z",
        "type": 3
    }
    ]
}

As shown in the example response, note field is not always present in the JSON Object.

@vkay94
Copy link
Owner

vkay94 commented Aug 5, 2021

Good catch, thanks :). It seems to be an API bug on their side. Unfortunately, there were many cases like these - at least they can be fixed easily in Kotlin xD

@vkay94 vkay94 closed this as completed Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants