Skip to content

NullpointerException when REST call returns error #51

@sgruenheit

Description

@sgruenheit

Hi Team!

We experience NullPointerExceptions int the api when some queries fail:

java.lang.NullPointerException at io.prismic.core.HttpClient.fetch(HttpClient.java:59) at io.prismic.Form$SearchForm.submit(Form.java:412)

The response that cannot be processed looks like this:

{"message":"Release not provided"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions