Skip to content

AppSync errors not getting returned back to client #16

@jleskovar-tyro

Description

@jleskovar-tyro

AppSync returns errors with a JSON response body that always contains both data (with a query/mutation key having a null value) in addition to the errors property. The above line results in the promise incorrectly being resolved with the data, instead of being rejected with the error.

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