Some of our users experience a bad gateway 502 error when submitting a SharePoint page edit for approval. The flow should automatically approve the changes when the user submits them. Where is the error happening?

Some of our users experience a bad gateway 502 error when submitting a SharePoint page edit for approval. The flow should automatically approve the changes when the user submits them. Where is the error happening?