Understand this selection is marked as unstable, however i get an error in api v2 playground stating this selection is not inc in a full key
Started by Bugsy-Bunny [477315] on in Bugs & Issues.
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.
Understand this selection is marked as unstable, however i get an error in api v2 playground stating this selection is not inc in a full key
If you are always getting a proper native error with an alternative, I imagine that has to be intended?
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
I will ask Mauro to confirm when he is back.
Thanks!
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).
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.
Ive now generated a new FULL access key and its working as intended.
No idea why but this can now be closed. Thank you
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!