I'm getting errors for the Firebase functions.
First I deploy the function from Firebase cli it's deploying successfully but when I open the Firebase functions I'm getting the below error

Even When opening the google cloud firebase functions there it's saying to me that the Firebase function failed to deploy.
What a controversial it is, firebase cli is saying success but Cloud is saying failed to deploy
Here's the google cloud screenshot:

Could anyone please share why it's like that,
Note:
- Also update the permission under the IAM of google cloud but in vain.
- when open the google cloud it's there(the code I pushed) but on redeploying it again failed to deploy