netlify/gocommerce

Invalid http body on /claim endpoint

mraerino opened this issue · 0 comments

- Do you want to request a feature or report a bug?

Bug

- What is the current behavior?

A GoCommerce instance will log an error when the /claim endpoint is called.
The operation completes successfully and the client gets a positive status code, but we don't want the error logged.

Unhandled server error: http: request method or response status code does not allow body

- If the current behavior is a bug, please provide the steps to reproduce.

Start a configured GoCommerce instance and tail logs. Call /claim

- What is the expected behavior?

No error log, if operation is successful.