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".
Action Plan
- Check Token and Authentication. Ensure that they are current and correct.
- Verify the User Role. Confirm that the user has the Portfolio Manager role.
- Check the Headers. Ensure headers like Accept-Content and Content-Type are correctly set.
- 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.
- Check whether any new features are added for the API.
- Check the number of scans per application. If the number of scans per application is more it can increase the time to process.
- Check the volume of data returned. If number application is more with huge volume of data it can result in more response time
- Check if the APIs are working in other environment such as postgres to check if the issue is with the PowerBI environment.
- 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
Ticket
53594
Comments