API request failed: Stage creation failed. (RestApiResponse.php:113)

Hi, everyone!

mm… After upgrade of icinga’ packages, i guess, I caught up amazing error API request failed: Stage creation failed. (RestApiResponse.php:113) when i try push “deploy pending changes”.
I checked everything parameters and access rights, but all in vain.

Summary
centos7, apache+php71-fpm

Icinga Web 2 Version
    2.7.3
Git commit
    06cabfe8ba28cf545a42c92f25484383191a4e51
PHP Version
    7.1.30
Git commit date
    2019-10-18
Copyright
    © 2013-2019 The Icinga Project 
|director |1.7.1|
|---|---|
|incubator |0.5.0|
|ipl |v0.3.0|
|monitoring |2.7.3|
|pnp |1.0.1|
|reactbundle |0.7.0|

I think I’ve seen this somewhere here in the past weeks. Try investigating on the Icinga 2 side, what’s logged for this request? Can you manually reproduce it by creating a dummy package and deploy a stage with a dummy host, as shown in the docs?

If so, add the verbose parameter to gather more insights into what’s wrong with the request. I’d guess it is a permission thingy for the ApiUser, can you share them as well? Also, which OS and icinga2 --version is involved here?

Cheers,
Michael