question

Matt Rochon avatar image
Matt Rochon asked

GetInventoryItems Unauthorized

At some point i started getting the following response when calling GetInventoryItems from a title authentication context.

5841-image.png

This absolutely worked before, not sure what I am doing wrong.

apisIn-Game Economy
image.png (59.7 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

·
kylemc@microsoft.com avatar image
kylemc@microsoft.com answered

Only "title_player_account" and "group" entity types can have inventories. We fixed a bug in the general availability release where you could pass in the "master_player_account" entity type, but you would always get an empty collection back.

2 comments
10 |1200

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

Matt Rochon avatar image Matt Rochon commented ·

that works, thanks Kyle!

0 Likes 0 ·
Neils Shi avatar image Neils Shi Matt Rochon commented ·

Please feel free to let me know if there are any other questions.

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.