Dashboards Not Opening

I am able to run my code which shares data to Matomo. Code executing successfully but in Matomo there is an error popping up : >> Oops… there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance.

Need more help? [Community Help]– [Professional Help]
How to fix this, any help would be appriciated.