500 internal server error while trying to update perspective using API
search cancel

500 internal server error while trying to update perspective using API

book

Article ID: 436787

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

 500 internal server error  is received while trying to update perspective using API.


Resolution

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