Wokrdrive Api assistance needed

Wokrdrive Api assistance needed

Hello fellow developers,
I'm currently working on integrating Zoho WorkDrive with a Bubble.io application using the OAuth 2.0 User-Agent Flow. I've encountered a few issues during the setup and testing phase, and I'm hoping someone here might have some insight or solutions.

Setup Details:
API Name: Workdrive
App ID: [CLIENT_ID]
App Secret: [APP_SECRET]
Scope: WorkDrive.files.CREATE, WorkDrive.files.READ, WorkDrive.files.UPDATE, WorkDrive.teamfolders.READ

Issues Encountered:
Redirect ID Invalid Error: Initially, I was getting a "Redirect ID invalid" error, which I believe was due to a mismatch in the redirect URI between my Bubble setup and what was registered in Zoho. I've since corrected this to https://your-domain.com/api/1.1/oauth_redirect?debug_mode=true.


Generic Error from Zoho: After resolving the redirect URI issue, when I attempt to authenticate, I'm now facing a generic error from Zoho: "An error occurred while processing your request. Please try again later." This error provides no specific details, making it hard to diagnose.


Bubble.io Warning: Bubble.io is warning me that I haven't tested the API in run mode and authenticated with Workdrive yet. I've set up a login workflow as instructed, but when running the app with ?debug_mode=true, the authentication still fails with the generic error.

Troubleshooting Steps Taken:

Verified the redirect URI in Zoho Developer Console.
Updated the OAuth URL in Bubble to reflect the correct redirect URI.
Ensured the state parameter is being handled correctly by Bubble.
Tested in different browsers and with cache cleared.
Checked for any server-side or network issues (none found).

Has anyone else encountered similar issues when integrating Zoho WorkDrive with Bubble.io? Any suggestions on how to proceed or what might be causing the generic error from Zoho? Also, any tips on ensuring the OAuth flow works seamlessly in Bubble would be greatly appreciated.

Thank you for your time and assistance!
    • Sticky Posts

    • Ask the Experts: Five-hour live Q&A session with Zoho WorkDrive product experts

      Have questions about WorkDrive 5.0? Let’s talk! We recently launched Zoho WorkDrive 5.0, packed with powerful updates to help your team work smarter, stay secure, and get more value from your business content. From content-centric workflows and AI-powered
    • WorkDrive API Documentation

      WorkDrive provides users and developers an extensive set of APIs to help integrate functionalities of Zoho WorkDrive with other Zoho applications and third-party tools. We have published the official WorkDrive API Documentation page for all external users.
    • March 15, 2023: Zoho Docs is discontinued

      As of today (March 15, 2023) Zoho Docs is discontinued for all users. We would like to thank our customers for trusting us for so many years! Going forward, we're confident you'll enjoy using Zoho WorkDrive for all your advanced file management and collaboration
    • Support for auto-upgrade in TrueSync (for Windows)

      WorkDrive TrueSync app now supports auto-upgrading to the latest version for Windows OS. You must manually download and install the TrueSync app version 3.4.0 to avail this feature. Download the latest TrueSync app for Windows (version 3.4.0) Supported
    • Introducing Collections

      Create collection links to easily request any number of users to upload files to a particular folder. Once users upload their files, you will be able to view their submissions and manage their files effortlessly. Users don't need a WorkDrive account to