activecampaign-python icon indicating copy to clipboard operation
activecampaign-python copied to clipboard

need to gracefully handle and report HTTP errors

Open dsadinoff opened this issue 10 months ago • 0 comments

In the real world, the ActiveCampaign API tends to respond with error statuses quite often. activecampaign-python currently hides this and if the error response has no data it will blithely return the body of the error response.

I propose that if a 4xx or a 5xx is returned by an API request, that ought to generate an exception to the caller.

patch to follow

dsadinoff avatar Mar 25 '25 08:03 dsadinoff