Hello !
I am working on a project that requires loading some information stored in a Cosmos DB database on Azure. To do this, we use an Azure function called using the PlayFabCloudScriptAPI.ExecuteFunction(), there are 4 or 5 calls made one after the other, waiting for the return of the previous one.
From time to time, without identifying a cause, the following return message occurs to all calls:
"Invocation of cloud script funcion [FUNCTION_NAME] failed with HTTP status TooManyRequests"
When this happens, all users are affected at the same time and no one can execute a cloudscript without receiving this error for a few minutes, then everything starts working again for everyone.
We are unable to identify which limitation is reached to generate this problem and if it is a limitation, why are all users affected at the same time? Does it come from PlayFab or the Azure Function? Is it a global limitation to all users and only a certain number of cloud script requests can be made at the same time for all users?