question

mike avatar image
mike asked

Server API ConsumeItem tester broken?

I'm trying to debug a problem with the server API's ConsumeItem method, but I'm getting errors in CloudScript that don't provide any info.

I'm trying to test it with the API test widget in the docs, but that doesn't seem to work either? It looks like the InstanceID isn't matching. Is this a bug?

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

The issue is that the instance ID you're specifying is in hexadecimal - which is correct - while the error message is returning the same ID in decimal (0x43B8D4EB146F86DD = 4879884302381188829). I'll file a bug on the error, to make sure we're being consistent.

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.

mike avatar image mike commented ·

Oh... right. That makes sense. Thanks!

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.