Jump to content



Member Since 12 Oct 2020
Offline Last Active Dec 22 2020 12:43 PM

Topics I've Started

Change Error Messages Sent In Api

15 December 2020 - 12:36 PM

Hi there!

We currently have a website and in progress of developing an application.

In the app, when the user logs in with incorrect credentials then a 404 status with some message is sent, which actually gives the user no idea what went wrong.


This is one example. Many other APIs are giving a very generalized status and message.


Hence I want to know a way by which we can change the error messages that are sent in response in API.


Currently getting - (after wrong credentials)

    "message""Not Found",



Also if you have any answer please keep in mind that it has to be language dependent.