Problem
When tries to export a SBOM file via the SBOM Manager API (/api/v2/sbom/applications/{applicationId}/versions), the following error was shown:
"The requested URL returned error: 402 Payment Required"
Solution
The /api/v2/sbom REST API requires an additional license for SBOM Manager.
If your IQ/Lifecycle product license does not include SBOM Manager, you can use the CycloneDX REST API or SPDX REST API instead to export the SBOM document from the application.