CharacterAI icon indicating copy to clipboard operation
CharacterAI copied to clipboard

.search() method doesn't work

Open senkuuuuu opened this issue 6 months ago • 0 comments

I was using doing:

class cAI():
    def __init__(self, character_name):
        self.character_name = character_name
        self.client = aiocai.Client('****')

    async def Find_CharacterKey(self):
        try:
            character_key = await self.client.search(self.character_name)
            return character_key[0].external_id
        except Exception as e:
            print(e)

then i got the error: Unable to decode JSON.Server response: <!doctype html><html lang="en"><head><style>.grecaptcha-badge{display:none!important}...

i tested some aiocai method but so far, i only observe this error on .search() method

senkuuuuu avatar Apr 19 '25 14:04 senkuuuuu