taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
703 stars 87 forks source link

Error using update photo (same command works fine in standard GAM) #299

Closed Xalcker closed 1 year ago

Xalcker commented 1 year ago

If I use the following command in standard GAM it works fine, but not in GAMADV-XTD3, it errors with: "Update Failed: Not Found:"

gam user user@domain.net update photo "https://drive.google.com/thumbnail?sz=w300&id=xxxxxxxxxxxxxxxxx"

user@domain.net exists, and the link to google drive photo is public.

taers232c commented 1 year ago

This should be fixed in 6.26.07.

Xalcker commented 1 year ago

If you have a photo in google drive with link:

https://drive.google.com/open?id=1we2Ovi5AbQNlvR0xrg3-yUkgmLa2ex5G

just replace the URL like this one, you can specify the size (150 pixels wide in this example)

https://drive.google.com/thumbnail?sz=w150&id=1we2Ovi5AbQNlvR0xrg3-yUkgmLa2ex5G

Note: Photo needs to be public to be able to use it with GAM.

El jue, 8 sept 2022 a la(s) 10:10, Ross Scroggs @.***) escribió:

Xalcker,

How do I create a thumbnail like this?

Ross

On Wed, Sep 7, 2022 at 9:55 PM Xalcker @.***> wrote:

If I use the following command in standard GAM it works fine, but not in GAMADV-XTD3, it errors with: "Update Failed: Not Found:"

gam user @.*** update photo " https://drive.google.com/thumbnail?sz=w300&id=xxxxxxxxxxxxxxxxx"

@.*** exists, and the link to google drive photo is public.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/299, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLYA2HAQNAMT5GZJD2TV5FWSZANCNFSM6AAAAAAQHLDXLA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/299#issuecomment-1240852423, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADG6AH3CNQBAXAMVDQ5ZG73V5H6X3ANCNFSM6AAAAAAQHLDXLA . You are receiving this because you authored the thread.Message ID: @.***>

--

-------------------------------------M.R.T. Yazel Hernández Vicente

taers232c commented 1 year ago

Did you try the latest version, the bug should be fixed.

Ross

Ross Scroggs @.***

On Sep 9, 2022, at 11:32 PM, Xalcker @.***> wrote:

If you have a photo in google drive with link:

https://drive.google.com/open?id=1we2Ovi5AbQNlvR0xrg3-yUkgmLa2ex5G

just replace the URL like this one, you can specify the size (150 pixels wide in this example)

https://drive.google.com/thumbnail?sz=w150&id= 1we2Ovi5AbQNlvR0xrg3-yUkgmLa2ex5G

Note: Photo needs to be public to be able to use it with GAM.

El jue, 8 sept 2022 a la(s) 10:10, Ross Scroggs @.***) escribió:

Xalcker,

How do I create a thumbnail like this?

Ross

On Wed, Sep 7, 2022 at 9:55 PM Xalcker @.***> wrote:

If I use the following command in standard GAM it works fine, but not in GAMADV-XTD3, it errors with: "Update Failed: Not Found:"

gam user @.*** update photo " https://drive.google.com/thumbnail?sz=w300&id=xxxxxxxxxxxxxxxxx"

@.*** exists, and the link to google drive photo is public.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/299, or unsubscribe < https://github.com/notifications/unsubscribe-auth/ACCTYLYA2HAQNAMT5GZJD2TV5FWSZANCNFSM6AAAAAAQHLDXLA

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/299#issuecomment-1240852423, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADG6AH3CNQBAXAMVDQ5ZG73V5H6X3ANCNFSM6AAAAAAQHLDXLA . You are receiving this because you authored the thread.Message ID: @.***>

--

-------------------------------------M.R.T. Yazel Hernández Vicente — Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/299#issuecomment-1242645776, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZWHF4RDG2A7R66ODDV5QTQNANCNFSM6AAAAAAQHLDXLA. You are receiving this because you commented.

Xalcker commented 1 year ago

Yes. Its working now as intended, thankyou very much.