Estou tentando rodar o teste de API mas está retornando esse erro:
The request we sent was:
Method: POST URL: http://localhost:8080/auth/login Headers: { "Connection": "keep-alive", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36", "accept": "/", "accept-encoding": "gzip, deflate", "content-type": "application/json", "content-length": 44 } Body: {"email":"clinica@gmail.com","senha":"4321"}
The response we got was:
Status: 500 - Internal Server Error Headers: { "x-powered-by": "Express", "access-control-allow-origin": "*", "content-type": "application/json; charset=utf-8", "content-length": "181", "etag": "W/"b5-x9oIfrr3pIq2kwwlcV1K2LilZTI"", "date": "Thu, 10 Apr 2025 13:40:48 GMT", "connection": "keep-alive", "keep-alive": "timeout=5" } Body: { "status": 500, "message": "Internal server error: The "password" argument must be of type string or an instance of ArrayBuffer, Buffer, TypedArray, or DataView. Received undef