# Prismic Login CLI failed

**URL:** <https://community.prismic.io/t/prismic-login-cli-failed/16062>\
**Category:** Developing with Prismic\
**Tags:** nextjs, cli\
**Created:** [June 3, 2024, 9:57am UTC](https://community.prismic.io/t/prismic-login-cli-failed/16062 "2024-06-03T09:57:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrezzaaa](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@mrezzaaa](https://community.prismic.io/u/mrezzaaa)\
**Post date:** [June 3, 2024, 9:57am UTC](https://community.prismic.io/t/prismic-login-cli-failed/16062/1 "2024-06-03T09:57:45Z")

</div>

I tried to logging in to prismic using cli to bind project with nextjs. But they said "oops"  
After looking to console got this error. Also third party cookies issue.  
I hope this problem will be solved ASAP.

 ![Screenshot 2024-06-03 at 16.51.46](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/e/e306ce85a35281b42e731fcf26f4a1db8bdb9be7.jpeg)

---

<div class="post-metadata">

**Author:** ![samlittlefair](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/samlittlefair/32/696_2.png) [@samlittlefair](https://community.prismic.io/u/samlittlefair)\
**Post date:** [June 3, 2024, 3:05pm UTC](https://community.prismic.io/t/prismic-login-cli-failed/16062/3 "2024-06-03T15:05:05Z")

</div>

Hey @mrezzaaa,

Please try the following steps:

- Logout in the Prismic CLI `prismic logout`
- Clear the cache in your browser
- Log out and back in to Prismic in the browser

Try logging in from the CLI again (`prismic login`).

If the error persists, create a recording of the error with jam.dev and send me a link to the recording so that I can ask my team to investigate.

Sam
