Skip to main content

[FastAPI] Missing HTTP body

Updated over a month ago

Issue

I am using Python FASTAPI and the request body is missing from my errors and/or my transactions.

Applies To

  • All SaaS Customers

  • Python FASTAPI SDK

Symptoms

If we open the event's JSON (doesn't matter if it's a transaction or an error), and scroll to the _meta section, we see a !raw entry.

Resolution

This is happening because the information could not be parsed, as it was raw data and not JSON. You have a few options to work around this:

Did this answer your question?