Skip to content

No DecodeResponse instance at runtime #29

Description

@abigailalice

I've seen the following error at runtime, and am not sure how to interpret it.

DecodeError: { error: UnhandledResponseError 'Could not decode response - no DecodeResponse instance'

I would assume any lacking instance should result in a compile time error, but this happens at runtime, returning a Left value when I try to contact my server. Wrapping the response in a record seems to consistently fix the issue, though I'm not sure why it's sometimes necessary.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions