Skip to main content
Answer

Logs of API errors

  • May 28, 2024
  • 1 reply
  • 194 views

erin

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...)

 

Best answer by jason

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.

1 reply

jason
Forum|alt.badge.img+8
  • Fronteer
  • Answer
  • May 28, 2024

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.