Event got deleted right after being created

Priyanka Gupta
Priyanka Gupta

When you create an event using our API, we create it on Nylas first and send a request to the provider to create it on their side. If the provider rejects the request for some reason, we delete the event from our side and mark the job as failed. 

 

Solution: You can use our job-status endpoint to see if the event is created on the provider or not. Job Statuses allow you to track whether a modification through the Nylas API has synced back to the account's provider. It has the following 3 states:

  •  Successful - The update has been synced to the provider
  • Failed - The provider has rejected the update.
  • Pending - The update is waiting to be synced to the provider.

References: Job-Status

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.