question

eswitzer07 avatar image
eswitzer07 asked

GrantItemsToCharacter Returns 200, but result is false

Trying to run some code to grant an item to a character using cloudscript. Running to some issues, and ran it through postman. Still getting issues and I feel this is all configured correctly.

It returns a 200, which makes me feel like everything succeed. Looking at my character though, it doesn't seem anything was added. And the result returns "False" but without an error code.

Am I doing something wrong here? I cant seem to get my Item to grant to a character either using cloudscript or postman.

Cheers!

postman.png (26.4 KiB)
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

·
eswitzer07 avatar image
eswitzer07 answered

Edit: Nevermind just after posting found the answer to this!

CatalogVersion must be defined otherwise it will fail! (I'm assuming only if your item isnt in the default catalog)

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.