Microsoft Azure PlayFab logo
    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Add-ons
    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA
  • Runs on PlayFab
  • Pricing
    • Blog
    • Forums
    • Contact us
  • Sign up
  • Sign in
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by mobilEKG · Jul 07, 2021 at 01:09 AM · CloudScriptentitieslimits

API call count limit exceeded with GetUserAccountInfo

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?

Comment

People who like this

0 Show 0
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

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?

Comment

People who like this

0 Show 3 · Share
10 |1200 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mobilEKG · Jul 07, 2021 at 05:26 AM 0
Share
@SethDu FYI

Title ID: 78C39
Function: OnCreateGroup

avatar image SethDu ♦ mobilEKG · Jul 08, 2021 at 07:12 AM 0
Share

If it is an event-triggered execution, there is 1s runtime and 5 API calls limit. I suggest using Queue Triggered Azure Function.

avatar image mobilEKG SethDu ♦ · Jul 08, 2021 at 08:00 AM 0
Share

Thanks @SethDu
You are right. Event-triggered execution has more restrictions. I will change it to the regular one.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Navigation

Spaces
  • General Discussion
  • API and SDK Questions
  • Feature Requests
  • PlayStream
  • Bugs
  • Add-on Marketplace
  • LiveOps
  • Follow this Question

    Answers Answers and Comments

    6 People are following this question.

    avatar image avatar image avatar image avatar image avatar image avatar image

    Related Questions

    Cloud Script Entities. Get title objects of player 1 Answer

    How to extend Azure Cloud Script execution time limit,How to extend Azure Cloud Function execution time 2 Answers

    Cloud Script questions - Where are log files? 1 Answer

    Triggered Azure functions execution time limit exceeded error 1 Answer

    Does using Http in CloudScript count toward the API limit? 1 Answer

    PlayFab

    • Multiplayer
    • LiveOps
    • Data & Analytics
    • Runs on PlayFab
    • Pricing

    Solutions

    • For Any Role

      • Engineer
      • Designer
      • Executive
      • Marketer
    • For Any Stage

      • Build
      • Improve
      • Grow
    • For Any Size

      • Solo
      • Indie
      • AAA

    Engineers

    • Documentation
    • Quickstarts
    • API Reference
    • SDKs
    • Usage Limits

    Resources

    • Forums
    • Contact us
    • Blog
    • Service Health
    • Terms of Service
    • Attribution

    Follow us

    • Facebook
    • Twitter
    • LinkedIn
    • YouTube
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2020
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Create an article
    • Post an idea
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Articles
    • Ideas
    • Users
    • Badges