I'm getting an error "Unable to JSON encode payload. Error code: 5" when sending data that is gzip encoded to a self-hosted instance. I can't seem to figure out what is causing the issue. I've tried a number of Nginx configurations to try and decompress the data, but nothing seems to work.
I'm getting an error "Unable to JSON encode payload. Error code: 5" when sending data that is gzip encoded to a self-hosted instance. I can't seem to figure out what is causing the issue. I've tried a number of Nginx configurations to try and decompress the data, but nothing seems to work.
Doesn't work:
Works:
and I see the "raw" data as Gzip encoded text.