I have error 400 when trying to grant a character to a user.
- Item exists
- I manually override
- The item belongs to the user
- But the grant does not work (InvalidItemProperties)
Any Idea ?
Here is the body of GrantCharacterToUser :
{
"CatalogVersion": "MainCat",
"ItemId": "Player_Lionel",
"CharacterName": "Lionel"
}
Here is the JSON of the item :
{
"ItemId": "Player_Lionel",
"ItemClass": null,
"CatalogVersion": "MainCat",
"DisplayName": "Lionel",
"Description": null,
"VirtualCurrencyPrices": {
"HC": 10000
},
"RealCurrencyPrices": null,
"Tags": [],
"CustomData": "{\"Speed\":\"100\",\"Force\":\"100\",\"Endurance\":\"100\"}",
"Consumable": {
"UsageCount": null,
"UsagePeriod": null,
"UsagePeriodGroup": null
},
"Container": null,
"Bundle": null,
"CanBecomeCharacter": true,
"IsStackable": false,
"IsTradable": false,
"ItemImageUrl": null
}