Skip to main content
Cadet | Tier 2
February 20, 2024
Question

Google dive c

  • February 20, 2024
  • 7 replies
  • 338 views
getting the above error while create a folder in google drive

 

    7 replies

    Zaid Chougle
    Navigator | Tier 3
    Navigator | Tier 3
    February 20, 2024

    Request you to please check the api in google cloud console for google drive

     
    Lets Automate !
    Cadet | Tier 2
    February 20, 2024

    checked the api in google, but getting the same error message:
    400 Bad Request POST https://oauth2.googleapis.com/token { "error" : "invalid_grant", "error_description" : "Token has been expired or revoked." }
     

    how can I reset the token?

    Cadet | Tier 2
    March 5, 2024

    Hey @manognya.prasad , I have been facing exactly the same error and I think there is a bug in the current A360 package, I took an old project where I set up a Google connection and changed the package in my current bot with the older version (the same one that was in my old project Google Drive package: 2. 0.2-20210311-002614) and it works!!! so basically, if you don't have an older version, contact Automation Anywhere and they can provide you with at least the one I posted here and it should work until they fix the issue with the new version of the package.

    Flight Specialist | Tier 4
    June 12, 2026

    Hi, I’ve got the same error in June 2026 : I have to downgrade the package version to  2. 0.2-20210311-00261 in order to create a basic folder in the root folder. 

    When will this problem be solved ?

    rbkadiyam
    Premier Pathfinder | Tier 7
    Premier Pathfinder | Tier 7
    June 12, 2026

    @Augustin  did you verify botagent version with latest google package version compatiability?

    Verify Automation Anywhere Versions

    What versions are you running?

    • Automation 360 / Control Room version
    • Bot Agent version

    There have been cases where Google Drive Package 2.20 expects a newer Bot Agent than the one installed.

    Ramesh B Kadiyam
    Flight Specialist | Tier 4
    June 15, 2026

    @Augustin  did you verify botagent version with latest google package version compatiability?

    Verify Automation Anywhere Versions

    What versions are you running?

    • Automation 360 / Control Room version
    • Bot Agent version

    There have been cases where Google Drive Package 2.20 expects a newer Bot Agent than the one installed.

    Hi Ramesh,

     

    I am using the cloud CR  Automation 360 build 45946 with Bot Agent  22.240.39

    rbkadiyam
    Premier Pathfinder | Tier 7
    Premier Pathfinder | Tier 7
    June 16, 2026

    @Augustin  

    Capture package logs during the Connect action to identify root cause 

    • %LOCALAPPDATA%\AutomationAnywhere\BotRunner\Logs
    Ramesh B Kadiyam