Skip to content

[BUG] Sign up sign in not working #107

@Raman298

Description

@Raman298

** 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
![Sign-Up Error Screenshot](upload your screenshot here or link to it if hosted externally)

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions