Internal server error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2022 12:07 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 12:20 AM
@Akshaya14 if your issue is fixed, you can mark the relevant answer correct to close the thread.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 10:57 PM
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();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2022 11:44 PM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 12:43 AM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2022 12:59 AM
@Akshaya14 submit a HI case, they may be able to check the flow designer logs for this.
Raghav
MVP 2023