Error calling the REST API
Posted: Tue Jun 23, 2020 6:10 am
Hello,
every time our Nagios REST API is called, we receive this error at the beginning of the response:
<p><pre>SQL Error [nagiosxi] : ERROR: syntax error at or near "objects"
LINE 1: ...6-23 13:07:12','API','jenkins',16,'API endpoint \'objects/ho...
^</pre></p>
Nevertheless the call is successful, but some tools get confused with this first lines.
Do you know where this is comming from?
Nagios: 5.7.1
We also tried repairing the database with your script, but the error is still coming up.
Thank you.
BR,
Alex
every time our Nagios REST API is called, we receive this error at the beginning of the response:
<p><pre>SQL Error [nagiosxi] : ERROR: syntax error at or near "objects"
LINE 1: ...6-23 13:07:12','API','jenkins',16,'API endpoint \'objects/ho...
^</pre></p>
Nevertheless the call is successful, but some tools get confused with this first lines.
Do you know where this is comming from?
Nagios: 5.7.1
We also tried repairing the database with your script, but the error is still coming up.
Thank you.
BR,
Alex