Hi guys! I’m trying to replicate the first Blues accelerator for the Indoor floor-level tracker, but I’m having a problem connecting to the web app. I followed all the steps but when I start the application I only have the message: An internal error occurred. If this problem persists, contact Blues Support.
And in terminal, I have the next message:
code: 'ERR_HTTP_HEADERS_SENT'
}
error - (api)/src/pages/api/device-trackers.ts (41:14) @ deviceTrackersHandler
ErrorWithCause: Could not fetch device tracker data:
39 | res.status(StatusCodes.INTERNAL_SERVER_ERROR);
40 | res.json({ err: ReasonPhrases.INTERNAL_SERVER_ERROR });
> 41 | const e = new ErrorWithCause("Could not fetch device tracker data: ", {
| ^
42 | cause,
43 | });
44 | serverLogError(e);
error - uncaughtException: Error [ERR_STREAM_WRITE_AFTER_END]: write after end
The Swan doesn’t work either because I have a loop with the following message: Waiting for Environment Variables from the Notecard
I’m not sure what I’m doing wrong, can someone help me?