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 Andres Urquijo · Jun 20, 2017 at 05:44 AM · Shared Group Data

UpdateSharedGroupData not removing keys

When I use this function I get the following error:

Error Message:
Invalid input parameters
HttpCode:
400
HttpStatus:
BadRequest
Error Details:
Data: The value for key Inventory was not valid JSON.

Comment

People who like this

0 Show 1
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 Andres Urquijo · Jun 20, 2017 at 05:47 AM 0
Share

I'm leaving Data as null, and adding one key to KeysToRemove; "Inventory". The current value for Inventory is "Value": "{\"Hola\":0}",

1 Reply

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by Brendan · Jun 20, 2017 at 07:28 AM

Can you please provide the complete set of parameters being passed into the call, and the Title ID, so that we can have a look?

Comment

People who like this

0 Show 2 · 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 Andres Urquijo · Jun 20, 2017 at 10:56 AM 0
Share

http://puu.sh/wpiwi/e4aa3edc8e.png

TitleID: D1AE
SharedGroupID: CohortDev
KeysToRemove: Inventory
The rest is default.

avatar image Brendan ♦♦ Andres Urquijo · Jun 20, 2017 at 05:43 PM 0
Share

Hm. Somehow, that Shared Group is in an invalid state - it has 8 keys in it, when the title only has a limit of 5, as it's in the free tier. If you like, I can remove keys from it to get it back under the limit - that should fix the issue. Meanwhile, I'll file a bug on the error your get when trying to operate on a Shared Group that's in this state.

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

    unity3d 2017 UriFormatException: Invalid URI: The hostname could not be parsed. (.playfabapi.com),UriFormatException: Invalid URI: The hostname could not be parsed. (.playfabapi.com) 2 Answers

    InvalidSharedGroupId in Server API 1 Answer

    GameManager fails to display shared group data 1 Answer

    UpdateSharedGroupData KeysToRemove Error code 400 2 Answers

    Not able to add Shared group member 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