Issue Tracker problems

I’m working on the issue tracker project and I keep getting these errors even though my implementations are correct. I can’t figure out a way to fix it and neither google nor AI is any help.

These are my errors:
// running tests
If you send a POST request to /api/issues/{projectname} without the required fields, returned will be the error { error: 'required field(s) missing' }
When the PUT request sent to /api/issues/{projectname} does not include an _id , the return value is { error: 'missing _id' } .
When the PUT request sent to /api/issues/{projectname} does not include update fields, the return value is { error: 'no update field(s) sent', '_id': _id } . On any other error, the return value is { error: 'could not update', '_id': _id } .
You can send a DELETE request to /api/issues/{projectname} with an _id to delete an issue. If no _id is sent, the return value is { error: 'missing _id' } . On success, the return value is { result: 'successfully deleted', '_id': _id } . On failure, the return value is { error: 'could not delete', '_id': _id } .
// tests completed
// console output
[Error: {“error”:“required field(s) missing”}]
[Error: {“error”:“missing _id”}]
[Error: {“error”:“no update field(s) sent”,“_id”:“5f665eb46e296f6b9b6a504d”}]
[Error: {“error”:“missing _id”}]

My Issue Tracker Repo

Remove the 400 status codes. The tests are checking the response status before doing its asserts and expects a 200 (even for what might otherwise correctly have been a 400 response).

This also means you have to update your tests.