The error message you’re encountering, “PERMISSION_DENIED: Permission denied to enable service [cloudaicompanion.googleapis.com],” indicates that you don’t have the necessary permissions to enable the “cloudaicompanion.googleapis.com” service in your Google Cloud project. The error message also specifies the specific permission and resource that are causing the issue.
Make sure you have the required Identity and Access Management (IAM) permissions to enable the service.
a. Navigate to the Google Cloud Console.
b. Open the project where you are trying to enable the service.
c. Go to “IAM & Admin” and then select “IAM.”
d. Check if you have the “Service Usage Admin” role or a similar role that grants permission to enable services. If not, you’ll need to be granted this role or ask an administrator to grant it to you.
If you don’t have the required permissions, you need to request the necessary permissions from your Google Cloud project’s administrators. You can explain the specific service you are trying to enable and why you need it.
Make sure that you also have the appropriate access to Duet AI and that you are accessing the correct project and environment associated with Duet AI. It’s possible that you may have access to Google Cloud but not to Duet AI.
You can only enable this api after you have been approved for the preview & have successfully allowlisted the project. Have you received the email stating you have been approved.If yes, pls use the link in the email to allowlist your project
Being approved and following the link is EXACLY what I did, as also then following the instructions in this page about granting access, and still the same problem
This thing is a nightmare to setup: no wonder everyone is using chatgpt. There you fill in a form, generate an api key, and that’s it
I am having the same issue. Signed up, got approved for my account, even signed up for basic support because I’m unable to move past this.
I’ve ensured my user has the Cloud AI Companion User and Service Usage Viewer roles.
Paid support seemed to be thinking there was a difference between “gcloud services enable cloudaicompanion.googleapis.com” and “gcloud services enable cloudaicompanion.google.com --project=” which really shows a lack of understanding
I thought the paid support would at least be able to decode the “Help Token” but it seems like not
I also encountered a similar problem.
By the way, before I encountered this problem,
I was instructed to send the project number.
It looks like you can opt out on the screen below.
I’ll try again to consider the possibility that I entered the number incorrectly.
”You can leave the waitlist for the Program by clicking here. We will remove your information from the waitlist and will not contact you further for follow up.”
I finally got mine resolved; I had to sign up for basic support, and had a few passes with the L1 support (who, similar to this thread, were insisting I wasn’t following the instructions properly) but they made an internal ticket and escalated it to a product specialist, and less than 24 hours later I was up and running. This unfortunately doesn’t help anyone else, but I did want to share what worked for me.
Ideal? No. But some of us just want to get on with our lives… and Duet, so far, seems pretty good. Too bad they haven’t smoothed out the new user onboarding experience.
Is it better than the alternatives/does it make it worthwhile to pay for
basic support and go through this back and forth to get it up and running?
Thoughts appreciated!
Depends on your personal financial situation - $29 as a minimum floor for basic support to me is 1/2 the price of a AAA video entertainment software*, at least in the USA, and I’m sure you can cancel it after they get you fixed.
(g to the a to the m to the e is a banned word in this community? I’m literally using this to build a … software with the primary purpose of entertainment)
I’m doing this for professional reasons - if it was purely personal I’d probably have given up.
Thanks, that makes sense. I’m primarily on AWS and using their excellent
CodeWhisperer but since I’m also using a bunch of Google APIs I thought why
not give DuetAI a whirl and maybe switch to GCP. I’m a bit flabbergasted at
how bad the GCP support is…