I have a project on GCP with a project-id and a google service account which I have been using to access the Cloud NLP API all along until recently, over the weekend, when it stopped working. Now I get an error which says:
Cloud Natural Language API has not been used in project 56333* before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/language.googleapis.com/overview?project=563***33****
The thing here is that the project-id=563***33****
is different from the one used and specified in my project IAM & Credential interfaces and I don't know where this new project-id is coming from. I have enabled the API on the console and when I access it with gcloud CLI it shows that it's been enabled. But when I try to access it from my project, on Cloud Functions, it throws the error above.
This issue has appeared recently to some users. Try running
once again on the affected projects.