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

Chokapik.3741:

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

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

Sampo.9678:

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

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.

Markus.6492:

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

Seark.3479:

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

AfterXII.2761:

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

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.

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.

sanadin.8317:

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

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.

Lawton Campbell.8517:

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.

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…)

Tom.6032:

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

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.

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.

spaeda.8419:

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

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..

Lawton Campbell.8517:

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?

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.

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

Lawton Campbell.8517:

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.

spaeda.8419:

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

Thx for the fix.