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.