The following REST API call might fail with the underlying error when used with wrong TaskID:
curl -X GET "http://<HOST>:<PORT>/codeinsight/api/projects/{projectId}/reports/{reportId}/download?taskId={taskId}" -H "accept: application/octet-stream" -H "Authorization: Bearer JWT_TOKEN" > report.zip
Error Message
HTTP Status: 400 Bad Request
{
"errors": [
{
"id": 3393,
"message": "The taskId entered is not mapped to the project or report. Please check and try again."
}
]
}
Log Entries
Exception mapper [com.palamida.appsec.rest.exception.BaseException @231c2d32] maps [com.palamida.appsec.rest.exception.TaskException @665cae46] ('The taskId entered is not mapped to the project or report. Please check and try again.') to <400/CLIENT_ERROR|Bad Request>
Root Cause
This error occurs when using the Download Report API (via pipeline or Swagger) with an incorrect taskId:
The taskId provided does not match any existing project or report mapping.
Use the correct taskId, which is the JobID generated during report creation.
The JobID can be obtained:
- From the API response when generating the report.
- From the Code Insight Web UI by navigating to Menu (Top Right Hamburger Icon) → Jobs.
NOTE: Always double check the report name in "Job Type" column generated for the project with "Project Name".
IMPORTANT: The JobID used to generate the report is the same value that must be passed as taskId in the Download Report API.
Related Articles
Executing reports using /fnms/v1/orgs/{orgId}/reports/{id}/execute API may fail because response stream is closed prematurely 2Number of Views Hosts not mapped to virtual machines when using VMware connector 43Number of Views The project name you entered is incorrect. Please ensure the project is created in Flexnet CodeInsight and is of type Inve… 7Number of Views Exporting reports using /fnms/v1/orgs/{orgId}/reports/{id}/exports API may show an "In progress" status indefinitely and n… 3Number of Views Software allocations are not mapped when using a business adapter 6Number 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