question

Andres Urquijo avatar image
Andres Urquijo asked

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.

Shared Group Data
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andres Urquijo avatar image Andres Urquijo commented ·

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

0 Likes 0 ·

1 Answer

·
brendan avatar image
brendan answered

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?

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andres Urquijo avatar image Andres Urquijo commented ·

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

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

0 Likes 0 ·
brendan avatar image brendan Andres Urquijo commented ·

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.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.