Currently, in cases where the query is unsuccessful, the response still has a status code of default 200. There needs to be a suitable HTTP status code allotted to the response, to better handle and debug the API.