Skip to main content

Hi.

My Centreon is IT100 24.04.7 and I’m playing with Rest API v2.

I try to get a service template by searching for its name or its id but I always have a code 500 with the following message: “Error while searching for service templates”.

 

Error while searching by name

 

On the other hand, the search for template services works well when I don’t put any search in query parameters.

 

Ok with no search parameter

What am I doing wrong? Is it a known bug?

Hello @Rikosp , 

 

I was able to reproduce your problem on a 24.04.6 version.
An internal ticket has been created.


Hello @selkostali 

Thank you for your support.


Hello ​@selkostali 

I’ve another bug to report.

It concerns Host Categories. The query parameters “search” doesn’t work at all. It doesn’t return anything but this time generates no error.

 

No result while searching host category with id = 1

 

And as for service templates, the query without parameter works well and returns all the categories.

 

Ok without query parameters

 


Reply