• Sign Up Login
  • Features
    • Game Services
    • Real-time Analytics
    • LiveOps
    • Add-ons
  • Game Services
  • Real-time Analytics
  • LiveOps
  • Add-ons
  • Games
  • Pricing
  • Blog
  • Support
    • Docs
    • Forums
    • Contact
  • Docs
  • Forums
  • Contact
  • Sign Up Login
  • Ask a question
  • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges
  • Home /
  • API and SDK Questions /
avatar image
Question by mulagahsc · Sep 18, 2018 at 08:53 AM · CloudScriptPlayer DataLeaderboards and Statistics

Error : CloudScriptAPIRequestCountExceeded

I was trying to get playerdata from the top 30 of a statistic table, and i ran into this error when executing the cloudscript. Is there a way to exceed the request count? and what is the current request count?

,

Hi, i am trying trying to execute a cloud script that return some playerdata from 30 of my players in my leaderboard. And i ran into this error. Is there a way to exceed the request count?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Sep 18, 2018 at 08:42 PM

Iterating across a list of players to query data from all of them is always going to be a problem, as it generates an excessive number of API calls per player. That kind of behavior could get your title throttled or blocked, if it is considered abusive. The design of the leaderboard service is that it returns the profile data you request for the user, which can include their other statistics, tags, etc. That's the data we would recommend using to build your richer leaderboard experience.

Comment
mulagahsc

People who like this

1 Show 1 · 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 mulagahsc · Sep 19, 2018 at 02:09 AM 0
Share

Ok. Gotcha will change the way we store some data and make it work

avatar image

Answer by Jay Zuo · Sep 18, 2018 at 09:58 AM

The number of PlayFab API requests made from a CloudScript function called by the ExecuteCloudScript API is limited to 15.

To view the usage limits, you can login to the PlayFab Game Manager. Visit the "Settings" page, then click on the "Limits" tab. And if you want to upgrade this limit, you can contact PlayFab to learn about custom limits.

Comment

People who like this

0 Show 0 · 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

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

    1 Person is following this question.

    avatar image

    Related Questions

    Email Templates variables 1 Answer

    best practice for saving statistics for leaderboards 1 Answer

    Leaderboard reset at custom time 1 Answer

    Set User Read Only Data public in Cloud Script 1 Answer

    How can I change a players statistics ? 1 Answer

    • PlayFab

      • Features
      • Games
      • Pricing
      • Blog
    • Engineers

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

      • Forums
      • Videos
      • Contact
      • Service Health
      • Terms of Service
    • Social

      • Facebook
      • Twitter
      • LinkedIn
      • YouTube
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About Microsoft
    • Jobs
    • Accessibility
    • Diversity & inclusion
    • Security
    • Company news
    • © Microsoft 2019
    • Anonymous
    • Sign in
    • Create
    • Ask a question
    • Post an idea
    • Create an article
    • Spaces
    • PlayStream
    • Feature Requests
    • Add-on Marketplace
    • Bugs
    • API and SDK Questions
    • General Discussion
    • LiveOps
    • Explore
    • Topics
    • Questions
    • Ideas
    • Articles
    • Users
    • Badges