Open olawalejuwonm opened 2 months ago
To address the "Unhandled error of type 'object'" issue you're encountering with Zoho Calendar and Google Meet integration, follow these targeted steps:
Ensure Proper Error Handling: Wrap all API calls, especially those to Zoho and Google APIs, in try-catch blocks to catch and handle errors effectively.
Verify API Responses: Always check the status code and error messages in API responses to ensure operations are successful before proceeding.
Google Meet Integration: When creating events with Google Meet conferencing via the Google Calendar API, make sure to use the conferenceData
field correctly and set the conferenceDataVersion
query parameter to 1
.
OAuth Scopes: Confirm that your OAuth scopes include permissions for both reading and writing calendar events and managing Google Meet conference data.
Enhance Debugging: Increase logging around the integration points with Google Meet and Zoho Calendar to pinpoint the source of errors.
Correct Response and Error Parsing: Ensure you're handling and parsing errors and responses correctly, checking for the right data types and structures.
In the context of cal.com, errors of type HttpException
are handled in a specific manner, as detailed in the apps/api/v2/src/filters/http-exception.filter.ts
file. This involves logging error details and sending a structured response back to the client. Similarly, ZodExceptionFilter
is used for handling Zod validation errors, providing a consistent and informative error response for API calls. These mechanisms could be relevant depending on the specifics of your integration and the nature of the errors encountered.
By following these steps, you should be able to resolve the error and ensure that Google Meet details are correctly included in your calendar events without encountering unhandled exceptions.
Found a bug? Please fill out the sections below. π
Issue Summary
A summary of the issue. This needs to be a clear detailed-rich summary. Getting the error above when using Zoho Calendar on an event type
Steps to Reproduce
1.Create an event Type
Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
Actual Results
Expected Results
This is an ideal result that the system should get after the tests are performed It should include the google meet calendar in the email and not throw the error
Technical details
Browser version, screen recording, console logs, network requests: You can make a recording with Bird Eats Bug.
Node.js version
Anything else that you think could be an issue.
I'm using the API reference
Evidence