-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
source-recharge: do not parse json in should_retry
#17822
source-recharge: do not parse json in should_retry
#17822
Conversation
/test connector=connectors/source-recharge |
/publish connector=connectors/source-recharge
if you have connectors that successfully published but failed definition generation, follow step 4 here |
/publish connector=connectors/source-recharge
if you have connectors that successfully published but failed definition generation, follow step 4 here |
What
Fix
The
RechargeStream
overridesshould_retry
and was trying to parse JSON response during execution, but recharge responses are not always JSON and this led to the following error:json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0).
How
Remove attempt at parsing JSON response.