Recent searches
No recent searches
Sync and firehose API delete events
Posted Sep 01, 2021
Sync and firehose API documentation (https://developers.getbase.com/docs/rest/articles/sync/requests) claims to send deleted events. However, I tried deleting a deal but did not receive the deleted event.
Following is what I did:
1. Created a new deal via UI
2. Start sync, via /v2/sync/start (sync API)
3. Fetch data from queue: /v2/sync/$SYNC_SESSION_ID/queues/main
4. Received the newly created deal as response
5. Deleted the deal via UI
6. Fetch data from queue: /v2/sync/$SYNC_SESSION_ID/queues/main
7. Did not receive the deleted event for that deal.
Same is the case with firehose API.
Is this expected?
0
1
1 comment
Eric Nelson
Hey There,
I've tested this and was able to receive the deleted event, though there was a slight delay as the event was queued for deletion for a short time. For step 6, did you try fetching more than one time?
Have a wonderful day!
Eric Nelson | Manager - Developer Advocacy
0