ERROR: 409: Requested entity already exists - 409

3,359 views
Skip to first unread message

Ana Custodio

unread,
Sep 20, 2021, 1:11:58 AM9/20/21
to GAM for Google Workspace
Hi,

I typed in this GAM command 

gam csv createclassroomAC.csv gam create course alias "˜alias" name "˜coursename" teacher "~teacher" status PROVISIONED

It gave me the error --> ERROR: 409: Requested entity already exists - 409

Can someone help me find out what is the issue here?


Thank you,

Ana

Ana Custodio

unread,
Sep 20, 2021, 3:51:37 AM9/20/21
to GAM for Google Workspace
Hello again, I realized the first time I ran the command for a teacher. The course was created with a course name ˜coursename instead of taking the course name from the CSV file. Is there something wrong with the command I'm using? 

gam csv createclassroomRF.csv gam create course alias "˜alias" name "˜coursename" teacher "~teacher"

The content of the CSV is as follows:
alias,coursename,teacher
RF_HS1A,General Biology,x...@ics.edu.sg

I am guessing that's the reason I am getting the requested entity already exists error.

Ian Bevan

unread,
Sep 20, 2021, 3:58:52 AM9/20/21
to google-ap...@googlegroups.com
You forgot to add the tilde for the fields alias and coursename. So the first course has been created with the alias of "alias" and name of "coursename" then as it processes the next line from the CSV it reports back that the alias and name are already taken which is correct.

gam csv createclassroomAC.csv gam create course alias "˜~alias" name "˜~coursename" teacher "~teacher" status PROVISIONED


27A Jubilee Road, Singapore 128575

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/f8e4f39c-c785-4e01-b3cd-37c967c751f6n%40googlegroups.com.

Disclaimer
Please help to protect the environment by not printing e-mails unnecessarily. The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful.

Ana Custodio

unread,
Sep 20, 2021, 4:13:08 AM9/20/21
to google-ap...@googlegroups.com
thank you. I realized I have to press enter after the tilde on Mac before it actually becomes a tilde sign, otherwise, it will treat it as a text.
Thanks again for your help.



--
Ana Custodio
IT Applications Manager

Reply all
Reply to author
Forward
0 new messages