Skip to content
This repository has been archived by the owner on Oct 8, 2023. It is now read-only.

Error when registering device #136

Open
jwangga opened this issue Dec 2, 2021 · 0 comments
Open

Error when registering device #136

jwangga opened this issue Dec 2, 2021 · 0 comments

Comments

@jwangga
Copy link

jwangga commented Dec 2, 2021

Hello,
I am running backend and frontend locally on the same machine. When I tried to add a new device (device/new), I got several errors related to
SyntaxError: Unexpected token < in JSON at position 0
And the error 500 (Internal Server Error), which seems to cause the QR not to display
GET http://localhost:58600/api/devices/qrcode?nonce=a605b457-0d68-8b96-bb99-70b155131268 500 (Internal Server Error)

image

What could be the cause? Any suggestions would be greatly appreciated.

jwang

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

No branches or pull requests

1 participant