GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.54k stars 473 forks source link

error "End date greater than LastReportedDate" when trying to generate a report #1661

Closed moemilan closed 1 year ago

moemilan commented 1 year ago

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:

Full steps to reproduce the issue:

  1. run gam report users user <email>

Expected outcome (what are you trying to do?): Get a user data report without specifying a date as the GAM default behavior is to pull the most recently available report from Google Actual outcome (what errors or bad behavior do you see instead?): ERROR: End date greater than LastReportedDate

taers232c commented 1 year ago

Mohamed,

Google made an unannounced API change that caused this problem. They were supposed to revert the change. Are you still seeing the error?

Ross

Ross Scroggs @.***

On Sep 17, 2023, at 8:26 AM, Mohamed Ahmed @.***> wrote:

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:

I have upgraded to the latest GAM release from https://github.com/GAM-team/GAM/releases https://github.com/GAM-team/GAM/releases and I still have this issue. Yes, I am running the latest GAM version GAM 6.58 I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki https://github.com/jay0lee/gam/wiki Full steps to reproduce the issue:

run gam report users user Expected outcome (what are you trying to do?): Get a user data report without specifying a date as the GAM default behavior is pull the most recently available report from Google Actual outcome (what errors or bad behavior do you see instead?): ERROR: End date greater than LastReportedDate

— Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1661, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL5QOUHIC6WV3M3D7IDX24JA5ANCNFSM6AAAAAA43V3J7M. You are receiving this because you are subscribed to this thread.

samuel-sobrino commented 1 year ago

Hi, in my case yes I'm still getting this error I was able to manage in other ways, so we'll wait and see.

samuel-sobrino commented 1 year ago

Seems to be resolved now

moemilan commented 1 year ago

Yes, I am running the command now without any issues and receiving the expected outcome.