question

mirkosrsen avatar image
mirkosrsen asked

Unable to create draft item

Hello,

I have been struggling to figure out why I suddenly cannot create any draft items in Economy V2. Flow I used: -Login with custom ID -Use session ticket from login to call GetEntityToken which provides me with another entity token -Use new entity token in CreateDraftItem.

Json file is as follows:

{

"Item": {

  "CreatorEntity": {
    "Id": "{titleID}",
    "Type": "title"
  },
  "Type": "catalogItem",
  "ContentType": "gameitem",
  "Title": {
    "NEUTRAL": "Blah"
  },
  "StartDate": "2022-09-07T00:00:00.000Z",
  "Tags": [
  ]

},

"Publish": true,

"CustomTags": {

}

}

Response is as follow:

{

  "code": 401,
  "status": "Unauthorized",
  "error": "NotAuthorized",
  "errorCode": 1089,
  "errorMessage": "Calling Entity does not have permissions to the Item Type."

}

I was doing it fine few weeks back but now it just doesn't wanna let me thro. I went back to quickstart guide and it didn't help. This should be related to Type since if I swap to ugc it gives different type of error (that im missing data), but I need plain catalog item in my case.

In-Game Economy
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

·
mirkosrsen avatar image
mirkosrsen answered

Turns out you can just disable X-Authorization in postman and everything will work. XD

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.