Error with tokeninfo endpoint

Error with tokeninfo endpoint

in API Development

Posted by: spaeda.8419

spaeda.8419

Tokeninfo endpoint return 2 differents error and delete my API Key.

I call it with this url : https://api.guildwars2.com/v2/tokeninfo?access_token={myApiKey}

First request :
{"text":“endpoint requires authentication”}
API Key still exist

Second request :
{"text":“invalid key”}
API Key was delete

Please fix it.

EDIT: I can’t create new Key, so I can’t check with other endpoints

Error with tokeninfo endpoint

in API Development

Posted by: Chokapik.3741

Chokapik.3741

Wow, it deleted my key too. The endpoint needs to be disabled/fixed asap, or everyone will have to create new keys.

Escape from Rata Sum: http://orikaru.net/ratascape
Guild Emblem Editor: http://nailek.net/gw2/emblemeditor

Error with tokeninfo endpoint

in API Development

Posted by: Markus.6492

Markus.6492

Hello There,

I was able to verify with some keys:
Once an endpoint key is called, the key is deleted and it can also create new keys.

Please check and resolve urgently, otherwise the whole API is likely to be obsolete.

Best Regards

Markus

https://github.com/arenanet/api-cdi/issues/64

Guild: Teufelspack [Arrr]
Function: Captain

(edited by Markus.6492)

Error with tokeninfo endpoint

in API Development

Posted by: Sampo.9678

Sampo.9678

I can’t even create a new API key now…

“Be brave, little rabbit. Take a chance.”

Error with tokeninfo endpoint

in API Development

Posted by: Ceribis.8104

Ceribis.8104

It wasn’t the /tokenInfo endpoint for me. I did a test on /bank and the same thing happened. First, ‘endpoint requires authentication’ and then ‘invalid key’. Went to my account and noticed that the API key I generated last night is now gone and I’m getting “ERROR” when trying to generate a new one.

Keeghan – Sylvari Mesmer – Jade Quarry

Error with tokeninfo endpoint

in API Development

Posted by: Markus.6492

Markus.6492

It looks as concerns all endpoints that use authentication.
From me it was tested with character, account and bank

Guild: Teufelspack [Arrr]
Function: Captain

Error with tokeninfo endpoint

in API Development

Posted by: Seark.3479

Seark.3479

It’s the same with /commerce/transactions/current/sells.

Error with tokeninfo endpoint

in API Development

Posted by: AfterXII.2761

AfterXII.2761

I can confirm this, this needs to be fixed asap!

http://gw2shinies.com/ – A Guild Wars 2 Trading Post Service
http://gw2tno.com/ – The Nameless Ones [TNO]

Error with tokeninfo endpoint

in API Development

Posted by: Ceribis.8104

Ceribis.8104

Seems that the API keys reappear after some time. Not sure how long that delay is though. They also vanish again after trying to be used.

Keeghan – Sylvari Mesmer – Jade Quarry

Error with tokeninfo endpoint

in API Development

Posted by: sookya.8625

sookya.8625

Can confirm it too. It deleted my key when calling api-endpoints and there is no possibility to create a new.. (“Error”). Hope this will be fixed asap, no API is usable for now.

Moona @Kodash[DE]
GuildWars2 sPvP-Tracker: http://www.gw2pvp.de
Tradingpost in your Pocket: http://www.tp2go.de

Error with tokeninfo endpoint

in API Development

Posted by: sanadin.8317

sanadin.8317

I’m experiencing the same bug. It was /bank for me.

Error with tokeninfo endpoint

in API Development

Posted by: alacritythief.9756

alacritythief.9756

Can confirm that it’s deleting API keys that it’s being fed, and now I can’t create any new API keys on my account.

Ryvalia – lvl 80 Asuran Warrior
Flux Capacity [FLUX] on Tarnished Coast
Council Leader

Error with tokeninfo endpoint

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

Next

Yep, looking into this now. Not really sure where the problem is yet, we didn’t make any changes to the API key stuff.

Super happy fun times commence.

Error with tokeninfo endpoint

in API Development

Posted by: LadyRhonwyn.2501

LadyRhonwyn.2501

Yep, looking into this now. Not really sure where the problem is yet, we didn’t make any changes to the API key stuff.

Super happy fun times commence.

Don’t you love bugs that popup out of nowhere… (or seem to, only to be some very silly mistake that triggers that bug once every blue moon…)

Error with tokeninfo endpoint

in API Development

Posted by: Tom.6032

Tom.6032

I am not able to create a new key, it just keeps returning an error.

Error with tokeninfo endpoint

in API Development

Posted by: Ayusaki.6739

Ayusaki.6739

Don’t you love bugs that popup out of nowhere… (or seem to, only to be some very silly mistake that triggers that bug once every blue moon…)

When I was in Middle school, a friend of mine wrote a script that would backup a DB for a service once every month, on the 30th…. and then came February… took him a moment.

[KnT] Kuliya/Kessumi/Kiyuu/Hit My Zerg Not Me

Error with tokeninfo endpoint

in API Development

Posted by: zeeZ.5713

zeeZ.5713

Don’t you love bugs that popup out of nowhere... (or seem to, only to be some very silly mistake that triggers that bug once every blue moon...)

When I was in Middle school, a friend of mine wrote a script that would backup a DB for a service once every month, on the 30th.... and then came February... took him a moment.

I’ve been using some tool to convert files of timestamped GPS coordinates from one format to another. Worked ok until I traveled from UTC+1 to UTC+7. Suddenly timestamps jumped backwards in time at the end of the day. What happened? That tool quietly converted ISO 8601 from +HH:MM to Z by doing hours = hours-offset modulo 24. Does that count?

Anyway, can confirm confirmation of confirmed issues.

(edited by zeeZ.5713)

Error with tokeninfo endpoint

in API Development

Posted by: spaeda.8419

spaeda.8419

Find a bug is 75% of the solution. Good luck

Error with tokeninfo endpoint

in API Development

Posted by: chaly.7638

chaly.7638

api.guildwars2.com/v2/tokeninfo

  1. Logged in at guildwars2.com
  2. Picked an old API key from the list
  3. Called https://api.guildwars2.com/v2/tokeninfo?access_token= <my API key>
    {"text":“invalid key”}
  4. Checked my list of API keys at guildwars2.com
  5. API key deleted

api.guildwars2.com/v2/account

  1. Logged in (different account as above) at guildwars2.com
  2. Picked an old API key from the list
  3. Called https://api.guildwars2.com/v2/account?access_token= <my API key>
    {"text":“endpoint requires authentication”}
  4. Checked my list of API keys at guildwars2.com
  5. API key still existed
  6. Called https://api.guildwars2.com/v2/account?access_token= <my API key>
    {"text":“invalid key”}
  7. Checked my list of API keys at guildwars2.com
  8. API key deleted

Both accounts weren’t and aren’t able to create a new API key.

  1. Logged in at guildwars2.com
  2. API key list -> create new key
  3. Entered a name, all optional scopes remained unchecked
  4. Result at https://account.guildwars2.com/account/api-keys/create
    Error

Our API connector already deleted about 150 API keys in the last hours while most of our users don’t know their key is gone..

(edited by chaly.7638)

Error with tokeninfo endpoint

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

Next

Okay, so the key creation bit should now be working again.

Additionally, the “endpoint requires authentication” bit should be fixed — let me know if you’re still getting that. If it persists, it’s probably some bad cached data and I can just purge the cache.

I’m not sure why/how API keys were being deleted, still looking into that bit. It may just be a cache issue — the other thread mentioned that they mysteriously came back after awhile?

Error with tokeninfo endpoint

in API Development

Posted by: Ceribis.8104

Ceribis.8104

Okay, so the key creation bit should now be working again.

Additionally, the “endpoint requires authentication” bit should be fixed — let me know if you’re still getting that. If it persists, it’s probably some bad cached data and I can just purge the cache.

I’m not sure why/how API keys were being deleted, still looking into that bit. It may just be a cache issue — the other thread mentioned that they mysteriously came back after awhile?

Of note, it doesn’t appear to be permanent. They seem to disappear for a while. My API key came back after a while (I don’t have a definite time). Also, the API was working fine (for me) prior to 10pm Eastern Time last night. So something went screwy overnight.

Keeghan – Sylvari Mesmer – Jade Quarry

Error with tokeninfo endpoint

in API Development

Posted by: chaly.7638

chaly.7638

  • API Key creation for the two accounts (see last post) works
  • Their missing (“deleted”) API keys aren’t back yet

If someone experience a due time for revenant API keys the timespan would be of help.

Thx for your quick help Lawton

Error with tokeninfo endpoint

in API Development

Posted by: Lawton Campbell

Previous

Lawton Campbell

Web Programmer

I have a couple of guesses as to why the API keys disappear for awhile — but annoyingly it’s going to take a while to validate them and get a fix out. If my hunch is right, it’s just a cache coherency issue and should disappear after awhile — sooner if you don’t use the key.

Error with tokeninfo endpoint

in API Development

Posted by: spaeda.8419

spaeda.8419

Ok for me.
My app in production work fine, no errors from api are trace.

Thx for the fix.