adm-niolinsky:~ nic$ gam create course wa-hr04-6-2016
connect: (www.googleapis.com, 443)
send: 'GET /discovery/v1/apis/classroom/v1/rest HTTP/1.1\r\nHost: www.googleapis.com\r\nif-none-match: "C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I"\r\naccept-encoding: gzip, deflate\r\nauthorization: Bearer ya29.CjBXA5l47CaikyJVFeOm82qN3B9rQIF8bogXQ4Sbeue5RRZxbrm5jo4frmsUJJMn-BQ\r\nuser-agent: GAM 3.65 - http://git.io/gam / Jay Lee <jay0lee @ gmail.com> / Python 2.7.9 final / Darwin-16.0.0-x86_64-i386-64bit x86_64 /\r\n\r\n'
reply: 'HTTP/1.1 304 Not Modified\r\n'
header: Expires: Wed, 07 Sep 2016 18:43:21 GMT
header: Date: Wed, 07 Sep 2016 18:38:21 GMT
header: Cache-Control: public, max-age=300, must-revalidate, no-transform
header: ETag: "C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I"
header: Vary: Origin
header: Vary: X-Origin
header: Server: GSE
header: Alt-Svc: quic=":443"; ma=2592000; v="36,35,34,33,32"
ERROR: wa-hr04-6-2016 is not a valid argument for "gam create course".
--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d10ea858-6283-4c1f-abe9-9f4c860e8293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jay
First off, NEVER post debug output without sanitizing the Authorization: header. That "Bearer" portion is sufficient to grant anyone else permission to act against your domain for the next hour or so. Very dangerous. I'd recommend running:gam oauth revokeimmediately.Regarding your question, the minimal command to create a course would be:gam create course name wa-hr04-6-2016or you may prefer:gam create course name wa-hr04-6-2016 alias wa-hr04-6-2016see:for full syntax.Jay
On Wed, Sep 7, 2016 at 2:41 PM Nicholas Olinsky <nicholas.olinsky@sunnysideschools.org> wrote:
--Suddenly I can't seem to create a course. This is the debug output. I am not seeing what my problem is.adm-niolinsky:~ nic$ gam create course wa-hr04-6-2016
connect: (www.googleapis.com, 443)
send: 'GET /discovery/v1/apis/classroom/v1/rest HTTP/1.1\r\nHost: www.googleapis.com\r\nif-none-match: "C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I"\r\naccept-encoding: gzip, deflate\r\nauthorization: Bearer ya29.CjBXA5l47CaikyJVFeOm82qN3B9rQIF8bogXQ4Sbeue5RRZxbrm5jo4frmsUJJMn-BQ\r\nuser-agent: GAM 3.65 - http://git.io/gam / Jay Lee <jay0lee @ gmail.com> / Python 2.7.9 final / Darwin-16.0.0-x86_64-i386-64bit x86_64 /\r\n\r\n'
reply: 'HTTP/1.1 304 Not Modified\r\n'
header: Expires: Wed, 07 Sep 2016 18:43:21 GMT
header: Date: Wed, 07 Sep 2016 18:38:21 GMT
header: Cache-Control: public, max-age=300, must-revalidate, no-transform
header: ETag: "C5oy1hgQsABtYOYIOXWcR3BgYqU/YsDe4FXJlhWXueJei0_RXQqm_4I"
header: Vary: Origin
header: Vary: X-Origin
header: Server: GSE
header: Alt-Svc: quic=":443"; ma=2592000; v="36,35,34,33,32"
ERROR: wa-hr04-6-2016 is not a valid argument for "gam create course".
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d10ea858-6283-4c1f-abe9-9f4c860e8293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
----Jay
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-apps-manager@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/CA%2BVVBp-jfdgt%2BOOZGwRXaa1WTxAgtHKEtnkEudhjdX1ayaQZdA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/d10ea858-6283-4c1f-abe9-9f4c860e8293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Jay