Old API key still working?

I changed my API key on the website. I opened my app which uses the old API key. It sent out a ‘SendTextDataAsync’ string. The string was then received and acted upon by the character according to her memory. The character did not appear to respond in-game.
Any idea why this might be happening?!

Hello @Bob_Hawkey :wave:,

Could you please check if the API key inside your project’s Scriptable Object is still using the old key?

HI! Yes, this is definitely happening because I just saw a memory entry that must have been caused by another use with an old version. Same ‘SendTextDataAsync’ message. No normal conversations are getting through. I just tested a version with the new API key and it works just fine. Characters respond and the ‘SendTextDataAsync’ works as it should. Are you saying there are two places where the key exists? That doesn’t seem to be the case at all. I set the key using the Convai setup dialog and it works fine and I just confirmed it matches the website one although that is obvious since the new version works as it should.
You have a bug.

I’m not saying there are two separate places to store the key the Convai setup dialog saves the API key into a ScriptableObject asset in your project. That’s what I was referring to.

Just to confirm, are you saying that even after changing your API key on the website, interactions are still going through using the old key in a previous version of your app? Let me know if I understood correctly.

Yes sir! Not normal push to talk conversations but if I do a ‘SendTextDataAsync’ that goes through. Weird huh?

1 Like

Could you please share your character ID and the response generated from the old API Key?

r 31 19:13 PM d638ddb88a5ed20…
Repeat the following exactly as it is:[Alright, let’s go. Hope you don’t get too excited. Enjoy the show!!]

Alright, let’s go. Hope you don’t get too excited. Enjoy the show!!|

Keiko:
2783afe6-76f2-11ef-9274-42010a7be011

Happens with all the characters though.

1 Like

Hi @Bob_Hawkey can you pls share the email account and the old api key over private message ?

I will attempt to locate an old project with the old key.

Did you get my DM?

Hi @Bob_Hawkey, received your DM. Thanks for the info.

According to our records the last activity with your api-key was on 31st March, the same day when you regenerated your api-key.

Can you pls confirm if it is still active ?

Thanks for getting back to me. I have no way of testing it with the old key since I’ve moved on to using the new key. TBH I don’t think it would take 30 minutes to build a test app, send the ‘SendTextDataAsync’ to a test character, change the key and try again.
I’m done on my end, feel free to give it a try on yours.
Thanks again for your help.

2 Likes