500 internal server error is received while trying to update perspective using API.
500 Server Error is due to the massive scale of the rules array in the perspective schema.
A single request trying to process more than 4000 filter rules across multiple cloud assets likely exceeds the memory or execution time allocated for a single transaction.
The payload is too large to be parsed.
As a workaround kindly use dynamic group to create perspective .
https://apidocs.cloudhealthtech.com/#perspectives_add-dynamic-group-to-perspective