Connector Improvement: Google Cloud Function: Allow 'Error' Response Objects
CompletedIt would be great to be able to pass response objects which will cause the dashboard to show the sync status as FAILED as well as some relevant error information.
We have a few Cloud Function connectors currently set up in Fivetran so having to use external monitoring, e.g. Google Cloud Function Alerts, would make the process quite cumbersome and would detract from the appeal of using Fivetran for such connectors.
Ideally, we could return a JSON object which is explicitly defined as an error, with some information.
For example, if the credentials don't have sufficient access for some parts of the Cloud Function execution it would be good to be able to trigger a FAILED sync, with some info such as: "4XX error: unauthorized credentials."
Perhaps you could add some optional objects to the response object, e.g. :
- sync_status which defaults to SUCCESS but can be set to FAILED explicitly
- sync_info which can have a text in it for passing error codes/descriptions/etc.
-
Official comment
Hi Fabio,
- thanks for submitting this request! These are great ideas, although we don't have them planned at this time. We will continue to collect customer demand to justify the commitment to support & maintain a high-quality Fivetran function behavior.
Every upvote on this request increases the case to build it.
Thank you,Alison
-
This will be rolling out in the next few days
Alison
Please sign in to leave a comment.
Comments
2 comments