Need to add 10 players into an entity group. I only have these players' PlayFabIds. Cloud Script API entity.AddMembers can achieve that. But AddMembers only accepts PlayFabGroupsModels.EntityKey as input. I use GetUserAccountInfo to convert PlayFabIds to EntityKeys, then get "API call count limit exceeded" with the API "/Server/GetUserAccountInfo" error.
Is there a way to bypass this limitation or upgrading "Free to Start" plan to a higher level plan can fix this issue?
Answer by SethDu · Jul 07, 2021 at 02:31 AM
According to the limit page ([Game Manager] -> [Title Settings] -> [Limits]), you are able to send 25 APIs per execution of function. As far as I can see above, there is only 11 APIs required.
In terms of free plan, this limit won’t be able to increase even you have updated to other subscription plans. However, it also seems to unnecessary based on the current requirement. May I have your title ID and function name so that I can dig into it?
If it is an event-triggered execution, there is 1s runtime and 5 API calls limit. I suggest using Queue Triggered Azure Function.
Thanks @SethDu
You are right. Event-triggered execution has more restrictions. I will change it to the regular one.