If you are not expecting this message, and think you have the permission to enable API read on. Before using Google Cloud services, generally we will have to enable the API by searching for it and toggle enable. This is great for permission and cost management.
Failed to enable API please make sure you have the IAM permission to enable API
If you have the right permissions but still run into this issue, these problems could be the culprit:
- Your account does not have billing enabled yet. Set up billing. And often Google offers a generous free quota or trial. This may change though.
- Select the right project to work on. Double check top left of the Cloud console shows the project you are expecting.
- Your access needs to be owner role or have the ability to create resources.
- You can check this in the IAM dashboard.