Hello there,
Currently we are in trouble when push data to Playfab Server via CloudScript.
We using example in official API Document of PlayFab following by :
server.UpdateUserInventoryItemCustomData(
{
PlayFabId: currentPlayerId,
ItemInstanceId: itemInstanceId,
Data: {
ExtendDay : dayExtend,
Expiration: dayExpired,
Capacity: capacityValue,
RateOfFire: rateOfFireValue,
Weight: weightValue,
Reload: reloadValue,
Recoil: recoilValue,
Sturn: sturnValue,
Distance: distanceValue,
Damage: damageValue,
ArmorPenetration: armorPenetrationValue
}
});
This function working correctly if we comment out any of key, that mean the key number must be lower than 10.
Any key adding over than 10 will return Error :
Got an error: PlayFabAPIError InvalidParams: Invalid input parameters
at __playfab_internal.server_request (Script Document:3:263) -> turn 'PlayFabAPIError '+this.error+': '+this.errorMessage; }; throw result };
at server.UpdateUserInventoryItemCustomData (Script Document:253:90)
at handlers.onSetupWeaponInfoInventory (main.js:28:9)
at __playfab_internal.invokeHandler (Script Document:4:153)