Skip to content
TORNLIFE More

Api Faction/inventory not inc in full access key

Started by Bugsy-Bunny [477315] on in Bugs & Issues.

7 replies · 39 views · thread synced · 3 days ago · View on torn.com
About this thread

Posts archived: 8 / 8 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
8
Discussion span
→
People posting
3
Likes on archived posts
3
Posts by staff, officers and moderators
4
Authority score
57 / 100
Historical score
40 / 100
Story score
40 / 100
Engagement score
52 / 100

Most-liked replies

CloudJumper [1636201]Staff

If you are always getting a proper native error with an alternative, I imagine that has to be intended?

Bugsy-Bunny [477315]

Surely a full access api key trumps an limited access api key though. I can use my full access api key with other faction endpoints no issue, but for inventory i have to change to a limited.

 

Attacks, appliactions, uogrades. Everything accepts a full key, just inventory within the faction endpoints makes me use a limited key

splent [2088243] Admin Staff

Hey, 


From what I can see, Full Access keys do have access to 'faction' -> 'inventory', but if you're trying to access it with a key which doesn't have faction API access, you'll get the same error.


My API key (with faction access):

 

Another API key without faction access (but the player is in a faction):

 

I hope that helps! 

 

But please confirm that was the issue.

 

I will leave the bug report open and change the message (you don't have the required faction/company API access). 

Bugsy-Bunny [477315]

 

My faction role has API access

My limited key works

Both limited and full key are mine

My FULL ACCESS key - that should allow access to eveerything does not. I can access other faction end points with my full key. Just not this inventory end point

 

My point being that a full access key should be higher than my limited key. 

 

splent [2088243] Admin Staff

Hmmm, now that you mentioned this. I suppose it's possible that new selections won't work on old keys (since 'key' -> 'info' is automatically fetched only when you add the key). 

 

You can however use 'refresh' button, and it should refresh key permissions as well. 

 

I added auto-refresh for all keys you have saved every time you open the website, so hopefully that will prevent this from happening again in the future.

Thanks!