Skip to content

"Internal server error" without a reason when token expires  #171

@ltroya-as

Description

@ltroya-as

Hi guys,

I am receiving an Internal server error when the token expires without any other useful message that helps me identify the error's cause.

E.g:
image

However, if I enable the "Enable GraphQL Debug Mode", it returns the cause (invalid-jwt) of the issue but there is a warning on that option not to allow that on the production environment.
Screenshot:
image

The status code is always 200 for both cases.

Is there anything I can do to receive the error on the production environment when sending an expired token?

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