Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error - node sandbox.js #9

Open
laien opened this issue Nov 10, 2020 · 0 comments
Open

Internal Server Error - node sandbox.js #9

laien opened this issue Nov 10, 2020 · 0 comments

Comments

@laien
Copy link

laien commented Nov 10, 2020

I'm trying to run node sandbox.js but I'm getting Internal Server Error:

undefined
Error: Internal Server Error
    at Request.callback (/home/runner/work/sbanken-ynab-importer/sbanken-ynab-importer/node_modules/superagent/lib/node/index.js:804:15)
    at /home/runner/work/sbanken-ynab-importer/sbanken-ynab-importer/node_modules/superagent/lib/node/index.js:1036:18
    at IncomingMessage.<anonymous> (/home/runner/work/sbanken-ynab-importer/sbanken-ynab-importer/node_modules/superagent/lib/node/parsers/json.js:19:7)
    at IncomingMessage.emit (events.js:326:22)
    at endReadableNT (_stream_readable.js:1223:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:21) {
  status: 500,
  response: Response {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    res: IncomingMessage {
      _readableState: [ReadableState],
      readable: false,
      _events: [Object: null prototype],
      _eventsCount: 4,
      _maxListeners: undefined,
      socket: [TLSSocket],
      connection: [TLSSocket],
      httpVersionMajor: 1,
      httpVersionMinor: 1,
      httpVersion: '1.1',
      complete: true,
      headers: [Object],
      rawHeaders: [Array],
      trailers: {},
      rawTrailers: [],
      aborted: false,
      upgrade: false,
      url: '',
      method: null,
      statusCode: 500,
      statusMessage: 'Internal Server Error',
      client: [TLSSocket],
      _consuming: true,
      _dumped: false,
      req: [ClientRequest],
      text: '{"errorType":"System","isError":true,"errorCode":null,"errorMessage":"Could not complete the request due to an expected or unexpected error.","traceId":"xxxxx"}',
      [Symbol(kCapture)]: false
    },

https://localhost:3001/api/accounts is showing my accounts.

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

No branches or pull requests

1 participant