Skip to content

Conversation

@wbreeze
Copy link

@wbreeze wbreeze commented Feb 10, 2025

Let's be friendly and helpful. Let's not point at the client without reason.
Here we return 400 provided we've examined the request, found fault, and thrown a message. Otherwise, we are honest, friendly and credible. Not having examined the fault, we accept responsibility using 500.

Copy link

@mooncitydev mooncitydev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why from 400 to 500 error
whats for 404 error

@wbreeze
Copy link
Author

wbreeze commented Jun 12, 2025

400 is bad request "indicates that the server would not process the request due to something the server considered to be a client error."

404 is not found "indicates that the server cannot find the requested resource."

500 is internal server error "indicates that the server encountered an unexpected condition that prevented it from fulfilling the request."

PR causes 500 in place of 400 if the cause is not an identified problem with the request.

@wbreeze
Copy link
Author

wbreeze commented Jun 24, 2025

IMG_0438
Take a clue from Amazon. They say, "Something went wrong on our end." Sad dog is not required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants