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:
- Change the body to JSON format
- Add the body as context
- Add the body as an attachment