Greetings. Our game features unlockable containers that give lots of items to our players.
I am using a cloud script to unlock one of such containers for a player, using the method called "UnlockContainerInstance". Some of those containers contain large numbers of drop tables. I suspect this is causing the "UnlockContainerInstance" request to time out, when called from a cloud script. The same code performed well when giving a container with relatively few items, but an error occurred when opening a container with many items. Is it possible that if I give, say, 20 instances of a DropTable, it causes 20 "hidden" API calls to be made in order to randomly determine which exact item is given? That would dramatically increase the execution time of the cloud script, even though I am only making a single API call.
For reference, my App Id is A70F; I am successfully giving a container called "RewardSmallTier1Level1" (about 16 drop tables), but timing out when giving "RewardHugeTier1Level1"(about 170 drop tables).
Looking at my Event History, the error is:
{ "Level": "Error", "Message": "PlayFab API request failure", "Data": { "api": "/Server/UnlockContainerInstance", "request": { "CatalogVersion": "Equipment & Cards", "ContainerItemInstanceId": "FB788ED0C5875EE3", "KeyItemInstanceId": "3C55E295867D0916", "PlayFabId": "722CAC50022BC141" }, "error": "Timeout" } }
If my hypothesis is correct, are there any workarounds for this issue?
Thank you for your support.