-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Context:
We've been seeing support cases around error codes that integrations were not scripted to handle. Rather than adding loads of boiler plate code to existing and new integrations, we propose to create a handler or wrapper to a handler that can take options for how the handler responds to error codes.
Requirements:
To be able to write a script where the code handles the success case and all other cases are handled under the covers with no configuration
To be able to configure the handler behavior and/or messaging for some errors (Like 429) while using default behavior for the rest.
Things to consider:
How could this be used to help with observability of integrations. For instance, if an integration can list expected errors and starts seeing UN-expected errors, this may raise a flag that expected errors would not.
4XX errors are common when a user is setting up their integrations, yet we find that those problems end up in customer service. How do we surface those issues without having to look at logs.