Skip to main content
Question

Use API - There was an consistency error in the exported files

  • June 24, 2025
  • 2 replies
  • 68 views

Forum|alt.badge.img

Hi,

 

I have a problem using the APIs.

I created my API with the admin account

curl -s -d "username=admin&password=MyPassword" -H "Content-Type: application/x-www-form-urlencoded" -X POST https://Website/centreon/api/index.php?action=authenticate
{"authToken": "MyAPI"}

 

curl -s -H ‘X-AUTH-TOKEN:'MyAPI’' -H “Content-Type: application/json” -X GET 'https://Website/centreon/api/latest/configuration/monitoring-servers/7/generate-and-reload'

 

It returns the error 


{"code":500, "message": "There was an inconsistency error in the exported files - please use the legacy export menu to troubleshoot"}

I'm using Centreon version 24.10.7.

 

 

 

There's an IP to access the web interface in front of a reverse proxy for the central unit. Another IP is assigned to the central unit for communication with pollers.

I don't understand where my problem comes from.

2 replies

Forum|alt.badge.img+4
  • Steward *
  • June 26, 2025

Hello,

Same issue for me, i’m using Centreon 24.04.15. 

Have you found a solution? 

Thank’s


Forum|alt.badge.img+4
  • Steward *
  • June 26, 2025

Issue resolved, ive chown centreon: in /var/log/centreon.

Here Export configuration shortcut --> error | Community