Client Errors

When calling GetMetricsToken or GetSignToken you may encounter one of the following errors. These errors are returned in the form of a string and should be properly consumed by the server-side application.

  • Name
    MISSING_PUBLIC_KEY
    Description

    The javascript client is unable to find the client key embedded in the page.

  • Name
    INVALID_PUBLIC_KEY
    Description

    The public key provided is invalid or has been revoked.

  • Name
    SESSION_EXPIRED
    Description

    The session has expired, the user will need to refresh the page to continue.

  • Name
    INVALID_DATA
    Description

    An un-handled exception occured while attempting to generate a token, treat with high risk.

  • Name
    FAILED_TO_SIGN
    Description

    An un-handled exception occured while attempting to generate a token, treat with high risk.

  • Name
    OUTDATED_BROWSER
    Description

    Synthient uses a modern browser detection system. If the user is using an outdated browser they will be unable to generate a token, this forces the user to use a modern browser for ensuring the best security.