# Unable to log into caffeine.ai (Invalid delegation chain)

**URL:** <https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266>\
**Category:** internet-identity\
**Created:** [February 16, 2026, 7:52pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266 "2026-02-16T19:52:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![amromerodiaz](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@amromerodiaz](https://forum.dfinity.org/u/amromerodiaz)\
**Post date:** [February 16, 2026, 7:52pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/1 "2026-02-16T19:52:11Z")

</div>

I created an account on caffeine.ai using my Gmail address. After logging out, I’ve been unable to log back in. Each time I try, I receive an error message “Invalid delegation chain: expected exactly 1 delegation”

For context, I also have an Internet Identity and use the NNS app where I have staked ICP. I’m not sure whether this might be related, but I wanted to mention it in case it helps with troubleshooting.I am using Chrome, and I also tried incognito mode as well as other browsers, but I always get the same result

Thanks in advance!

 ![caffeineai_error1](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/b/5/b5d09071c884dbe4e8bb6879c5ddc16f79939c91.png)

---

<div class="post-metadata">

**Author:** ![ZackDS](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zackds/32/40368_2.png) [@ZackDS](https://forum.dfinity.org/u/ZackDS)\
**Post date:** [February 16, 2026, 8:07pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/2 "2026-02-16T20:07:36Z")

</div>

Indeed some issues with MS Edge

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/3/9/39e4e0865b3e809bf5e0b14cc402934f7e06757b.png)

Working with Brave

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/d/f/dfee8474964e2e08fea313ba1c3d209060672052.png)

Aaand yes, strange but can be replicated on Chrome

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/5/b/5bc26e12c9ad7279f22399f7e637e78cb4f34643.png)

🤷‍♂️ FYI I am using YubiKey on Win11.

---

<div class="post-metadata">

**Author:** ![amromerodiaz](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@amromerodiaz](https://forum.dfinity.org/u/amromerodiaz)\
**Post date:** [February 16, 2026, 8:18pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/3 "2026-02-16T20:18:17Z")

</div>

I don’t think this is a browser-related issue. Before logging in, I select the Google account option and choose my email address. After that, I’m prompted to select my Internet Identity. I believe this might be the problem, because when I originally created the account, I only used my Gmail login and did not link or use an Internet Identity, it looks like this might be a bug. Thanks for checking though!

Out of curiosity, I also installed Brave and got the same result

 ![caffeineai_error2_brave](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/1/b/1b0c3b491a7b1a0b79c62c90c5c7ecbc2ba611f7.png)

---

<div class="post-metadata">

**Author:** ![ZackDS](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zackds/32/40368_2.png) [@ZackDS](https://forum.dfinity.org/u/ZackDS)\
**Post date:** [February 16, 2026, 8:24pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/4 "2026-02-16T20:24:48Z")

</div>

![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/c/a/ca98641896b2a944503b363b8f9899fe53053a0f.png)

Hopefully it will sort itself out. It is a mess in last couple off weeks, slow as can be and hallucinating worst than before. Have to wait for support on Discord, they don’t check the forum unfortunatley and it appears to be an app issue, ii is working fine. Good luck.

---

<div class="post-metadata">

**Author:** ![amromerodiaz](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@amromerodiaz](https://forum.dfinity.org/u/amromerodiaz)\
**Post date:** [February 16, 2026, 8:26pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/5 "2026-02-16T20:26:43Z")

</div>

Would you mind asking what the message **“Invalid delegation chain: expected exactly 1 delegation”** means? I haven’t been able to find any information or references about it so far

---

<div class="post-metadata">

**Author:** ![ZackDS](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/zackds/32/40368_2.png) [@ZackDS](https://forum.dfinity.org/u/ZackDS)\
**Post date:** [February 16, 2026, 8:36pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/6 "2026-02-16T20:36:34Z")

</div>

![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/3/e/3e8177c78c3c127c62c8446e72379f904114ddfb.png)

yeah waste of time following up

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/d/a/da6a75246b3acae7b7dd59bb9104aeb5bd4b9e75.png)

---

<div class="post-metadata">

**Author:** ![amromerodiaz](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@amromerodiaz](https://forum.dfinity.org/u/amromerodiaz)\
**Post date:** [February 17, 2026, 8:00pm UTC](https://forum.dfinity.org/t/unable-to-log-into-caffeine-ai-invalid-delegation-chain/64266/7 "2026-02-17T20:00:55Z")

</div>

The issue has been magically resolved, I can now successfully log into caffeine.ai 🙂  
However, I’m currently experiencing problems when trying to publish the project and obtain the so-called “icp0(dot)io” URL 🤣
