taers232c / GAMADV-XTD3

Command line tool to manage Google Workspace
691 stars 86 forks source link

Vacation off failing - 400: failedPrecondition #354

Closed dfasc01 closed 1 month ago

dfasc01 commented 1 year ago

Hi, I was wondering if you could help with this weird one - I'm having an inconsistent issue using gam user <user> vacation off, where 1 specific user seems to get the error below every time.

ERROR: 400: failedPrecondition - Precondition check failed.

There's nothing different about their account that I can see that should impact this and others on the same tenant are working without issue so I'm a bit stumped. Is there any more info on what causes the 'failedPrecondition' error? The service account, domain-wide delegation are all set correctly as other calls are working fine.

Gam v. 6.57.0

taers232c commented 1 year ago

For that user, what does this show: gam user @.*** show gmailprofile

I'm in California (PDT) and am generally available starting at 7:30AM PDT, send me a Meet/Zoom invitation and we'll investigate.

Ross

On Tue, Apr 18, 2023 at 2:23 AM dfasc01 @.***> wrote:

Hi, I was wondering if you could help with this weird one - I'm having an inconsistent issue using gam user vacation off, where 1 specific user seems to get the error below every time.

ERROR: 400: failedPrecondition - Precondition check failed.

There's nothing different about their account that I can see that should impact this and others on the same tenant are working without issue so I'm a bit stumped. Is there any more info on what causes the 'failedPrecondition' error? The service account, domain-wide delegation are all set correctly as other calls are working fine.

Gam v. 6.57.0

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLY6LNDQRPSRGZO742DXBZMRHANCNFSM6AAAAAAXCLCWHY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

taers232c commented 1 year ago

6.57.01 now recognizes the error, but we'll still have to Meet to try to figure out what it means.

Ross

On Tue, Apr 18, 2023 at 1:55 PM Ross Scroggs @.***> wrote:

For that user, what does this show: gam user @.*** show gmailprofile

I'm in California (PDT) and am generally available starting at 7:30AM PDT, send me a Meet/Zoom invitation and we'll investigate.

Ross

On Tue, Apr 18, 2023 at 2:23 AM dfasc01 @.***> wrote:

Hi, I was wondering if you could help with this weird one - I'm having an inconsistent issue using gam user vacation off, where 1 specific user seems to get the error below every time.

ERROR: 400: failedPrecondition - Precondition check failed.

There's nothing different about their account that I can see that should impact this and others on the same tenant are working without issue so I'm a bit stumped. Is there any more info on what causes the 'failedPrecondition' error? The service account, domain-wide delegation are all set correctly as other calls are working fine.

Gam v. 6.57.0

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/354, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLY6LNDQRPSRGZO742DXBZMRHANCNFSM6AAAAAAXCLCWHY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Ross Scroggs @.***

-- Ross Scroggs @.***

dfasc01 commented 1 year ago

Thanks Ross, appreciate the help

gam user <user> show gmailprofile returns: User: <user>, historyId: xxxx, messagesTotal: xxxx, threadsTotal: xxxx *with actual figures.

I'm UK based so happy to set something up to demo/discuss next week. I haven't checked this across all users, so not sure how widespread it is but the random handful I've tested all work correctly.

taers232c commented 1 year ago

For the affected user, what does this do: gam user @.*** show vacation

Ross

On Wed, Apr 19, 2023 at 3:15 AM dfasc01 @.***> wrote:

Thanks Ross, appreciate the help

gam user show gmailprofile returns: User: , historyId: xxxx, messagesTotal: xxxx, threadsTotal: xxxx *with actual figures.

I'm UK based so happy to set something up to demo/discuss next week. I haven't checked this across all users, so not sure how widespread it is but the random handful I've tested all work correctly.

— Reply to this email directly, view it on GitHub https://github.com/taers232c/GAMADV-XTD3/issues/354#issuecomment-1514481948, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYLZTLADDPITXJ5XGEOLXB63LZANCNFSM6AAAAAAXCLCWHY . You are receiving this because you commented.Message ID: @.***>

-- Ross Scroggs @.***