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

Better handling of expired tokens #6

Open
agrimm opened this issue Mar 22, 2018 · 0 comments
Open

Better handling of expired tokens #6

agrimm opened this issue Mar 22, 2018 · 0 comments

Comments

@agrimm
Copy link

agrimm commented Mar 22, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant