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

Error when registering device  #136

Description

@jwangga

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions