Skip to content
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 zendesk support: invalid literal for int() with base 10: '50, 47' #13673

Closed
harshithmullapudi opened this issue Jun 10, 2022 · 1 comment · Fixed by #14112
Closed

Source zendesk support: invalid literal for int() with base 10: '50, 47' #13673

harshithmullapudi opened this issue Jun 10, 2022 · 1 comment · Fixed by #14112
Assignees
Labels
team/connectors-python type/bug Something isn't working

Comments

@harshithmullapudi
Copy link
Contributor

harshithmullapudi commented Jun 10, 2022

Is this your first time deploying Airbyte?: No
OS Version / Instance: Debian
Memory / Disk: 60GB
Deployment: Compute Engine
Airbyte Version: 0.39.8-alpha
Source name/version: Tested all versions >= airbyte/source-zendesk-support:0.2.5
Destination name/version: BigQuery
Step: While syncing satisfaction_ratings from zendesk, this error appears.
022-06-08 14:09:13 source > invalid literal for int() with base 10: '50, 47'

logs-1320.txt (303.2 KB)

https://discuss.airbyte.io/t/zendesk-connector-failing/1353/1

@grubberr
Copy link
Contributor

hm strange I could not reproduce but anyway I will improve parser to handle such cases

debug logs:

(Pdb++) response.request.url
'https://d3v-airbyte.zendesk.com/api/v2/satisfaction_ratings?page=1&per_page=100&sort_by=asc&start_time=1577836800'

(Pdb++) response.status_code
429

(Pdb++) print("\n".join([f"{k}: {v}" for k, v in response.headers.items()]))
Date: Fri, 24 Jun 2022 06:24:50 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
Retry-After: 49
Cache-Control: no-cache
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=wTFHLc%2FQhLC%2FzC3I4NkpeTCk%2Bd3d7unoyslhAB%2FSkq5rTh%2BX6j%2BIpwrfvEdR24PChuVl5Jnf8rstoJw3717Qshpe%2FBbJjv%2BzuiChwls%2FMHDNgf6qV%2FFv%2F%2Ft7%2FzAVShLXeexR4Bb4rfS4"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
Vary: Accept-Encoding
Server: cloudflare
CF-RAY: 720361fa9de92492-KBP

@grubberr grubberr linked a pull request Jun 24, 2022 that will close this issue
14 tasks
brunousml added a commit to brunousml/airbyte that referenced this issue Jun 29, 2022
it uses the python framework to solve the problem related to retry after returns a string like "50, 49" in retry response header when the status code is 429

issue related: airbytehq#13673
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team/connectors-python type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants