bnoguchi/everyauth — Issue #94: Code was invalid or expired.
Author: saschagehlich
Created: 2011-10-10 15:33:11+00:00
State: open

From time to time I get the following error (I replaced the user and app id with xxx)

Error: {"error":{"message":"Code was invalid or expired. User xxx has not authorized application xxx.","type":"OAuthException"}}
at [object Object].fail (/home/filsh5/node_modules/everyauth/lib/promise.js:50:15)
at EventEmitter. (/home/filsh5/node_modules/everyauth/lib/modules/oauth2.js:170:11)
at EventEmitter.emit (events.js:67:17)
at EventEmitter._respond (/home/filsh5/node_modules/everyauth/node_modules/restler/lib/restler.js:127:12)
at EventEmitter._fireEvents (/home/filsh5/node_modules/everyauth/node_modules/restler/lib/restler.js:131:52)
at /home/filsh5/node_modules/everyauth/node_modules/restler/lib/restler.js:115:19
at IncomingMessage. (/home/filsh5/node_modules/everyauth/node_modules/restler/lib/restler.js:205:5)
at IncomingMessage. (/home/filsh5/node_modules/everyauth/node_modules/restler/lib/restler.js:113:32)
at IncomingMessage.emit (events.js:81:20)
at HTTPParser.onMessageComplete (http.js:133:23)

Why does this happen?