Skip to content

UnhandledPromiseRejectionWarning: SyntaxError: Unexpected token #622

@shubhtrino

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)

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