Error in log: expected 2XX response, got 500

Hi!

Can help me with this errors?

ChirpStack Application Server.
I have many entries in log.

Many errors like:

level=error msg=“integration/http: publish event error” ctx_id=XXX dev_eui=XXX error=“expected 2XX response, got: 500” event_type=status url=“https://XXXXXX?event=status

level=error msg=“integration/http: publish event error” ctx_id=XXX dev_eui=XXX error=“expected 2XX response, got: 500” event_type=up url=“https://XXXXXX?event=up

Thank you!

It looks like whatever URL you’re sending data to with the HTTP integration is returning a 500 error.

The integration works

Apparently the integration does not work because of the message in the logs, however, when checking the integration if it worked, the data arrived and I could handle it correctly.

The error in the logs persisted. In the integration file, after handling the data, there was an error, which generated the 500 response from the server.
Fixed the integration the error disappeared and the integration continues to work correctly.

Please close the thread. Thank you.