Ensure that the correct HTTP response code gets propagated when the response contains an empty JSON object.
e.g. ensures that a 400 response with empty payload is returned to the client as { "statusCode": 400, "name": "invalid" }, rather than the confusing default { "statusCode": 0, "name": "unknown" }
Can replicate this by sending an identify event with more than 10 elements in a groups entry.
Checklist
[X] Does your PR title have the correct title format?
Summary
Ensure that the correct HTTP response code gets propagated when the response contains an empty JSON object.
e.g. ensures that a 400 response with empty payload is returned to the client as
{ "statusCode": 400, "name": "invalid" }
, rather than the confusing default{ "statusCode": 0, "name": "unknown" }
Can replicate this by sending an identify event with more than 10 elements in a
groups
entry.Checklist