Problem
When attempting to run Data Access API reports via the Swagger UI at "https://<SiteID>.flexnetoperations.com/data/swagger-ui.html", users may encounter the following error after clicking Try it out on the endpoint ../api/v1/report/{group}. This issue occurs when authorization is attempted using a Base64-encoded string (userid:password).
Error Message:
{
"statusCode": 401,
"statusMessage": "Invalid credentials supplied."
}
The user can login successfully into Producer Portal using the same user ID and password.
Diagnosis
After authorizing, review the generated Curl command in the Swagger UI to confirm that the Authorization header includes the Basic keyword. This ensures that the credentials are being passed correctly in the request.
The following screenshot shows a Curl command where the Basic keyword is missing:
Solution
Ensure that the Authorization header follows the correct format, as shown in the following screenshot. Specifically, the word Basic must precede the Base64-encoded string.
Server Response
The following screenshot shows the Curl command with the Basic keyword and a successful 200 OK server response:
Related Articles
"Populate userAppUsage from API" step reading data from Flexera One SaaS Manager may fail with error: API call failed afte… 8Number of Views Flexnet Operations Cloud: Data Access API Entity Relationship Diagram 6Number of Views FlexNet Operations Cloud ALM - Data Access APIs Overview 10Number of Views Fix API authorization errors (401 or 403) due to missing system permissions in Snow Atlas 4Number of Views Incomplete data may be imported from BMC Discovery (ADDM) resulting in data removal if API calls fail when using the API-b… 4Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago