Cant create folders via API HTTP 500

I am trying to automate the integration between NetBox and Passbolt. When I create a device in NetBox and specify the device type, name, and tenant, a webhook should be triggered to create a corresponding folder in Passbolt. The folder structure should place the device (by name) inside a hierarchy based on the tenant and device type.

However, when the webhook is executed, Passbolt is unable to locate the existing parent folders (tenant and device type). As a result, it fails to create the nested folder and returns an HTTP 500 error.

Hello,

Not sure what is your question, do you have an example of code for us to look at?
Cheers,

Hi,

I made it, but i had to use the CLI.

But thanks for the time to answer.