Internal server error

Akshaya14
Tera Contributor

Hi All,

 

In our group table we have around 20k group. We tried to delete around 10 k of group based on some condition. For this we created one flow for delete records but after 4 to 5 mins our flow was stopped throwing Internal server error.

Why this error is occur? is this due to bulk record? or any kind of timeout.

Because if we try to rerun it again show the same error after 4 to 5 mins.

 

Thanks, Please help me to resolve this.

9 REPLIES 9

@Akshaya14 if your issue is fixed, you can mark the relevant answer correct to close the thread.


Raghav
MVP 2023

Akshaya14
Tera Contributor

Hi RaghavSh,

 

Thanks, But we tried to trigger the same via scheduled job in that we gave max timeout as 30 mins. In this scenario my flow run around 30 mins after that it shows internal server error. 

 

Scheduled Jod script:

 var result = sn_fd.FlowAPI.getRunner()
.flow('global.azure_ad_group_synchronization__deletion')
.inForeground()
.timeout(1800000)
.run(); 

@Akshaya14 you have given timeout as 30 mins which is 1800000 milliseconds, which means after this time the script will timeout, if you remove the timeout function or increase the time, the error will go.


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023

Akshaya14
Tera Contributor

@RaghavSh , If I remove timeout means our flow will run only 5 mins after internal server error will occur,  that's our doubt why it run via scheduled job with run time not with flow alone

@Akshaya14 submit a HI case, they may be able to check the flow designer logs for this.


Raghav
MVP 2023