You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inside lib/sandbox.js, line 471 you will get a ReferenceError: body is not defined because you are trying to access a variable named body that does not exist. It should be res.body
The text was updated successfully, but these errors were encountered:
@tobiaslohr I got this error today while creating a sandbox:
formatError(body.error, res.statusCode)));
^
ReferenceError: body is not defined
at /snapshot/master/lib/sandbox.js:471:33
at ensureValidToken (/snapshot/master/lib/ocapi.js:94:9)
at Request._callback (/snapshot/master/lib/ocapi.js:148:9)
at Request.callback (/snapshot/master/node_modules/request/request.js:185:22)
at Request.emit (events.js:311:20)
at Request.<anonymous> (/snapshot/master/node_modules/request/request.js:1154:10)
at Request.emit (events.js:311:20)
at IncomingMessage.<anonymous> (/snapshot/master/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:417:28)
at IncomingMessage.emit (events.js:323:22)```
Inside lib/sandbox.js, line 471 you will get a ReferenceError: body is not defined because you are trying to access a variable named body that does not exist. It should be res.body
The text was updated successfully, but these errors were encountered: