I am experiencing an intermittent 500 Error with an Azure Function I am calling through PlayFab.
The function grabs JSON from a Cosmos DB instance and returns it to the Unity/PlayFab SDK client as JSON. A sample JSON file is attached. The size is 10.3 kb.
This function, dbGetAllTerrain, generates errors but my other function, dbUpdateTerrain, does not.
Overnight tonight I experienced two periods where the dbGetAllTerrain function returned the 500 Error. The first event ended after perhaps 90 minutes and started returning data again. At no point during these events were any changes made to the Azure Functions, i.e. the same code was in place in Azure.
Additionally, when this 500 Error occurs, the function call does not generate a PlayStream Event even though one has been requested.
I considered the possibility that there is a limit in place to block requests with a return size over a certain value due to the "result.FunctionResultTooLarge" sample code. That code is not being triggered, however.
When the function returns the 500 Error, the underlying Azure Function is still online. I can paste the URL into a browser window and the JSON appears as expected.
My title's ID is F4AB3. Any suggestions or verification you can offer would be greatly appreciated.
Sample JSON data:
function1json.txt (renamed to .txt to get around forum upload filter)