Kong responding 502 Bad Gateway but backend response was 204

Hi,

I have a GET request that is terminating with status code 502 in Kong:

When i check kong logs it shows me the following:

When i check the backend directly shows me the following (curl):

The same curl request with verbose:

Questions:
why is Kong changing the status code of que request?
is this a normal behavior?
is this some kind of form-validation of the request that Kong is doing?

My setup is the following:

  • Kubernetes
  • Kong CE 2.2.1

Please Help!!!

Regards
David