I've successfully created a character and uploaded a file, but when I try to retrieve it via /File/GetFiles I receive a 1089 NotAuthorized error.
Summarizing how I retrieve the character file:
- POST to /Client/GetAllUsersCharacters and get a list of all the characters on this player
- POST to /Authentication/GetEntityToken with id=characterId-1 and type=character
- POST to /File/GetFiles with the same entity as GetEntityToken above
In step 2, I receive an EntityToken that expires in a couple of days. In step 3 I can see that token used in the X-EntityToken header of the GetFiles request, but the response to step 3 is errorCode=1089 and errorMessage=NotAuthorized.
Are my steps above correct? I can upload a file to the character entity but I can't list the files on it.
Thanks,
-Matt