CAST HIGHLIGHT - API - While using CAST API’s in Power BI getting “Operation has timed out” error

While using CAST API’s for generating PowerBI report, user is  getting “Operation has timed out” error. The API URL used is: https://rpa.casthighlight.com/WS2/domains/xxxx/applications

When tested in Postman, the API gave the 200 OK response first, then the screen refreshed to  the below Could not get response "Maximum response size reached".image.png

 

Action Plan

  1. Check Token and Authentication. Ensure that they are current and correct.
  2. Verify the User Role. Confirm that the user has the Portfolio Manager role.
  3. Check the Headers. Ensure headers like Accept-Content and Content-Type are correctly set.
  4. Check the number of applications attached to the root domain. That is check if all the applications are attached only at the subdomain level and none at the root level. 
  5. Check whether any new features are added for the API.
  6. Check the number of scans per application. If the number of scans per application is more it can increase the time to process.
  7. Check the volume of data returned. If number application is more with huge volume of data it can result in more response time
  8. Check if the APIs are working in other environment such as postgres to check if the issue is with the PowerBI environment.
    1. Check if the Individual dataset limit set for Power BI Service is reached as individual dataset size can be capped based on the subscription. 

 

 

NB: The "Maximum response size reached" error in Postman occurs when the API response exceeds Postman's default 50MB size limit. To resolve this, increase the maximum response size in Postman's settings (Set the maximum size of a response to 0, to download response of any size) or use the "Send and Download" option for larger responses. 

 

Additional Resources

CAST Highlight Troubleshooting Guides

CAST Highlight Product Documentation

Highlight REST API

Ticket

53594

Have more questions? Submit a request

Comments

Powered by Zendesk