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 /
  • Bugs /
avatar image
Question by SHENRICHENG · Jan 14 at 02:09 AM · CloudScript

Error\n at Object.server_request (Script:180:24)

Hi Playfab,

Error\n at Object.server_request (Script:180:24)\n at Object.server.UpdateUserInternalData (Script:622:79)......

My game will inevitably fail after the player performs a certain operation 5~6 times, that is, the same code is executed the first few times without any problem, but the above error will definitely occur after this number of times.

By the way, this is an error in the CloudScript

Regards

Comment

People who like this

0 Show 3
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 Citrus Yan ♦ · Jan 14 at 03:08 AM 0
Share

May I know your title id and the CloudScript function that's having this error?

avatar image SHENRICHENG Citrus Yan ♦ · Jan 14 at 04:29 AM 0
Share

ID: 28991

function:handlers.OpenBox

"Error": {
      "Message": "The script called a PlayFab API, which returned an error. See the Error logs for details.",
      "Error": "CloudScriptAPIRequestError",
      "StackTrace": "Error\n    at Object.server_request (Script:180:24)\n    at Object.server.UpdateUserInternalData (Script:622:79)\n    at UpdateUserInternalData_HaveItems (28991-main.js:5599:12)\n    at MinusUserItemOne (28991-main.js:3284:9)\n    at handlers.OpenBox (28991-main.js:2755:16)\n    at Object.invokeFunction (Script:116:33)"
    }
avatar image Citrus Yan ♦ SHENRICHENG · Jan 14 at 08:53 AM 0
Share

The specific error you were hitting is the "DataUpdateRateExceeded" error, which generally means that you were attempting to update player data too frequently, please check out these thread for more info:

UpdateUserData dataupdaterateexceeded - Playfab Community

What is the best practices to update Player Data frequency? - Playfab Community

Basically, what you need to do is to find a way to reduce the player data update frequency.

0 Replies

· Add your reply
  • Sort: 

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

    2 People are following this question.

    avatar image avatar image

    Related Questions

    Where did the Upload New Revision button go? 1 Answer

    GetFriendList return empty Tags array 1 Answer

    Unable to locally debug playstream event trigerred cloudscript (azure functions) 1 Answer

    Cloud script execute more once 1 Answer

    GetStoreItems throws JavascriptException in CloudScript 4 Answers

    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