question

Martin Grigorov avatar image
Martin Grigorov asked

Title exceeded limit Player Data Value size when we calculate it as 6800 bytes

Hello, we are seeing notifications about a specific player in our game that has bigger Player data value size. But when we calculate the value size in UTF-8 of his data it is around 6800 Bytes not above 10k. Is there a mistake in our calculations. Can you see the player profile in our game: Counter Attack Team.

The email from your system is this:

This is a notification that Counter Attack Team (title AE0F) exceeded its current provisioned limit for:

Resource:
Player data value size

Limit:
10,000 bytes

Requested:
10,228 bytes

Details:
Timestamp: 2018-07-07T21:54:48 UTC
Associated player ID: 47EABA271478E8A9

Thank you!

Best Regards,
Martin Grigorov.

Player Datadata
10 |1200

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

1 Answer

·
brendan avatar image
brendan answered

Unfortunately, it's not possible for us to log the complete data package for data updates that fail due to exceeding the size limit (otherwise, we would be incurring the costs we're trying to prevent using the limits). If you're having trouble determining how you're exceeding the limit, feel free to post the complete body here, but I suspect this is going to be a simple calculation problem. The thing to bear in mind is that the KVP data is not 8 bit strings - you should calculate each character as a 16 bit value.

10 |1200

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

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.