When calling the Flexera One ITAM REST API you may receive the following error:
{
"name": "forbidden",
"id": "ZRqljLCI",
"message": "insufficient privilege for path #1: requires fnms:asset:index, common:org:own",
"temporary": false,
"timeout": false,
"fault": false
}
This error can occur to configuration settings or the API call destination. Follow the steps in this article to troubleshoot the error.
Solution
- Ensure the user making the API call has the View IT assets & call APIs enabled within Identity Management > User Management.
- After verifying this, if you still receive the 403 forbidden error message when making the request, verify the API call is going to your production environment. All API calls must be made to your production environment, as the current configuration is not set up for UAT.
Learn more
See IT Asset Management Data API for more details.