Skip to content

UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token #622

Description

@shubhtrino

I'm getting this error when code runs on the server. it works well on the local machine.

it shows error in googleauth.js file

(node:4908) UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token
in JSON at position 170
UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions