API Custom Connector Silent Failure #34738
Replies: 5 comments 1 reply
-
Hi @mike-prittie , Thanks for reporting the issue! I don't see anything obviously wrong from the logs. Are you willing the share the YAML file describing the connector? Feel free to DM me on Slack if you don't want to share it publicly (@alexandre Girard) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response @girarda, I appreciate it! I don't mind sharing the YAML Config at all (there's nothing top-secret in there :D ). Addition information that may be useful:
If there is anything else I provide you to help diagnose this issue, please let me know! |
Beta Was this translation helpful? Give feedback.
-
Hi @girarda, I spent some time trying to see if I could come up with a workaround for this issue, and while doing so I surfaced some more information. Sorry if this is a bit long, but I want to walk you though my process.
I rinse and repeat this a few times to zero in on the troublesome record, but it doesn't help that the page contents are slowly shifting (by whatever ordering criteria the API implementation uses). I don't see anything jump out, so I use Postman to grab two pages of 100 near the source of the problem to scan manually, looking for something off. That's when I noticed that page N has 100 records, as you'd expect, but page N+1 only has 99 records!
What I suspect is happening:
Let me know what you think of this and if I can do anything to help test a solution. |
Beta Was this translation helpful? Give feedback.
-
@mike-prittie thank you for the detailed investigation and writeup, it is super clear! The issue you've described makes sense and seems to clearly explain why you are seeing this behavior. I am going to capture this in an issue and bring it to the team for discussion, and will let you know if we could use your help at some point. |
Beta Was this translation helpful? Give feedback.
-
Sure thing, I'm happy to help! Looking forward to a resolution here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, I'm troubleshooting a situation using the API Connector Builder where I've configured a paginated stream that uses Page Increment with both a Page Number and a Page Size. I've set the page size to 1000 records, starting with page 0. The sync runs and completes "successfully" without errors. The destination is Snowflake, and when I check the resulting table, I find less than half of the records that I expect (~300k of the ~700k). I am using the
Full Sync | Override
sync mode.I've verified the GET params and number of pages expected using Postman. The job log shows warnings but no errors (log output attached). The worker appears to be making its way through the pages (~ the first 300 pages) and then suddenly stops for an unknown reason. Any ideas on what's going on here and a possible resolution?
I'm wondering if the worker isn't freeing up memory along the way after each page is processed, is running out of memory, the scheduler mistakenly thinks it's done, and victory is declared.
Any help here would be much appreciated. I figured I'd post here before submitting an issue.
Job Logs:
default_workspace_logs_211_txt.txt
Beta Was this translation helpful? Give feedback.
All reactions