-
Notifications
You must be signed in to change notification settings - Fork 50
Description
** bug**
When attempting to create a new account via the "Sign Up" form, the application throws a JavaScript error:
JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
To Reproduce
Navigate to the Sign-Up page.
Fill in the form with valid credentials:
Username:
Password:
Email:
Confirm Password:
Click on the "Create Account" button.
Observe the error message displayed at the top of the form.
Expected behavior
The form should submit successfully, and the user should be redirected to a confirmation page or logged in automatically. No JSON parsing error should occur.
Screenshots

Additional context
The error appears immediately after clicking "Create Account."
The backend may be returning an empty response or improperly formatted JSON.
This could also be caused by a missing Content-Type: application/json header or a failed network request.
