-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Endpoint : {{url}}/api/auth/signup
Entered data :
{
"username": "user",
"email": "user@test.com"
}
Issue Description:
When attempting to sign up using the API, if the password key is missing from the request, the API throws an internal server error instead of providing a meaningful error message. This behavior is not user-friendly and can lead to confusion for developers integrating with the API.
Steps to Reproduce:
Make a POST request to the signup API endpoint.
Omit the password key from the request body.
Send the request.
Expected Behavior:
The API should return a clear and informative error message indicating that the password key is missing from the request.
Actual Behavior:
The API returns an internal server error without any helpful information, as shown in the provided HTML response.
Additional Information:
Endpoint affected: [Insert API endpoint URL]
Request method: POST
Request body: [Include sample request body if necessary]
Response received: [Include any relevant response details]
This issue impacts the user experience and the ability of developers to effectively integrate with the API.