Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Error not directly from my script

1792595712
Ulti
Pro
Sheet Author
API Scripter
I just got an error message in the log, but it doesn't seem to mention any line of my script. Anyone knows what it means, and want I should look at to fix it? Here is the message: TypeError: Cannot read properties of undefined (reading 'statusCode') at file:///home/node/d20-api-server/api.js:1089:74 at ClientRequest.onRequestEnd (/home/node/d20-api-server/node_modules/rock-req/index.js:76:16) at ClientRequest.emit (node:events:509:20) at emitErrorEvent (node:_http_client:111:11) at TLSSocket.socketErrorListener (node:_http_client:607:5) at TLSSocket.emit (node:events:509:20) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
1792612034
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Ulti! I got that yesterday and could not track it to anything. Wait a few minutes and try restarting the sandbox.
1792668646
Ulti
Pro
Sheet Author
API Scripter
Indeed, it seems to work fine, now.