Skip to content
This repository was archived by the owner on Feb 19, 2024. It is now read-only.

Better handling of expired tokens #6

@agrimm

Description

@agrimm

If I make a request using an expired token, such as a call to Forecast.prototype.people, it gets back { reason: 'expired-token', account_id: '246010' }, and then sends a callback of callback(null, undefined).

Is there some way I could ask forecast-api for the reason value?

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