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
Oracle Licenses Consumption Details and Optimizations report may fail with error in webui.log: "String or binary data woul… 4Number of Views Error -44: Invalid FLEXlm Key Data Supplied 6Number of Views Installing 32bit lmadmin to "Program Files (x86)" folder on 64bit Windows prevents starting it as a service 3Number of Views Invalid (inconsistent) License Key. (-8,523) Error When Checking Out From ASR Trial License Generated From FlexNet Operati… 5Number of Views How to Write Custom Messages in the DEBUG log using lc_log? 472Number 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. | |
Case id: 00001065
Activity: Status change: 2 hours ago