Sign In With Apple & Review Process

Hello,

We have an application with Apple Sign-In Option. In the login process, we call the /auth/token endpoint for access_token. However, we rarely get 502 Bad Gateway errors, especially during the Apple app review process. Because of this, our application was rejected 3 times in a row. Is there any way to find a solution and send our logs to Apple?

<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>Apple</center>
</body>
</html>