Solved

Logs of API errors

  • 28 May 2024
  • 1 reply
  • 21 views

I recently got an error calling the `messages` api but the error was truncated. Is there a place I can see the full error?

 

[2024-05-27 22:35:20] production.ERROR: HTTP request returned status code 400:
{"_error":{"status":400,"title":"Bad request","message":"Body did not satisfy requirements","details":["body.to: should (truncated...)
{"exception":"[object] (Illuminate\\Http\\Client\\RequestException(code: 400): HTTP request returned status code 400:
{\"_error\":{\"status\":400,\"title\":\"Bad request\",\"message\":\"Body did not satisfy requirements\",\"details\":[\"body.to: should (truncated...)

 

icon

Best answer by jason 28 May 2024, 19:41

View original

1 reply

Userlevel 4
Badge +8

Hi Erin,

You can only view the full message on receiving it. It looks like your logging application truncated this result. 

I’ll reach out to you directly about this via email.

Reply