Insight issue Something went wrong. Please try again later

We are facing issue with insight at run time seeing this error message :Something went wrong. Please try again later. This is happening only in UAT environment.

Below error message is seeing in network tab(We are using Group by month)
message: “Error_Invalid_Function_In_Calculation”.

In Dev,INT we are not facing any issue. Anyone faced similar issue?

Is this Infinity ‘25?

version 25.1.1

Hello @bhaskarasivakrisp welcome to the community.

By the first look of your error message, it seems that there could be some error in the configuration of your fields of the data or work class which you have configured for the insight.

Calculation generally happen when you have some aggregations configured on the columns like Integer fields for showing sum or max, for instance.

May be you might have configured the insights properly in dev and could be that the rules or the instances related to that class or insight are not deployed to UAT properly.

May be you can give some more details of the configuration you are working on so that we can provide more suggestions.

Regards

JC

@JayachandraSiddipeta we are performing calculation on create date time ootb property this issue is happening recently when we tested initially it was working fine.

Can you please share more details about the error you see on the UI or in the tracer or in the logs ? That helps

Regards

JC

in network tab

I saw the same error in one of the other post in forums, having hard time to find it.

Meanwhile, found this post which might help you

As part of debugging, you can do one thing. Keep removing the display fields from the insight one by one and see due to which field you are seeing this issue.

Meanwhile, i will get some more information

Regards

JC

Starting from Pega infinity 25, UDFs are disabled in UAT and Production. Could you check if any of your implementation is relying on UDFs which is blocked in UAT.

Issue is happening only for group by year and month configurations not sure why it is not working in UAT regions with same configuration

@bhaskarasivakrisp can you check if you are using any custom calculations with custom function alias instead of using OOTB function alias for Insights. I got the similar error today while i was customizing something for insights.

@Murali.Krishnan.D we are getting error for group by configuration specific to month and year..are these configurations disabled for latest versions for UAT and production environments?