Can't deploy to Firebase


I’m trying to deploy my application to Firebase, the frontend build goes well, also the backend build, but when I get to the last step, I get this

Error: Failed to get Firebase project ******************. Please make sure the project exists and your account has permission to access it.

I have checked that I have the right FIREBASE_TOKEN and the right FIREBASE_WEB_PROJECT_ID. I generated the token using firebase login:ci but it doesn’t work!! I have spent a lot of time trying this last step to pass, any help is much appreciated!