singer-io / tap-outreach

GNU Affero General Public License v3.0
6 stars 21 forks source link

Only data or links expected in relationships #16

Closed asharmaupland closed 1 year ago

asharmaupland commented 2 years ago

Getting this error while extracting data from outreach to sql using Stitch data. Any Solution for this issue ?

INFO HTTP request to "accounts" endpoint took 2.105s, returned status code 200 2022-02-08 15:18:19,794Z target - INFO Requests complete, stopping loop 2022-02-08 15:18:20,324Z tap - INFO [smart-services] event successfully sent to kafka: com.stitchdata.streamRecordCount [6] at offset None 2022-02-08 15:18:20,324Z tap - INFO replicated 0 records from "accounts" endpoint 2022-02-08 15:18:20,325Z tap - CRITICAL Only data or links expected in relationships 2022-02-08 15:18:20,325Z tap - Traceback (most recent call last): 2022-02-08 15:18:20,325Z tap - File "tap-env/bin/tap-outreach", line 33, in 2022-02-08 15:18:20,325Z tap - sys.exit(load_entry_point('tap-outreach==0.7.0', 'console_scripts', 'tap-outreach')()) 2022-02-08 15:18:20,325Z tap - File "/code/orchestrator/tap-env/lib/python3.8/site-packages/singer/utils.py", line 229, in wrapped 2022-02-08 15:18:20,325Z tap - return fnc(*args, **kwargs) 2022-02-08 15:18:20,325Z tap - File "/code/orchestrator/tap-env/lib/python3.8/site-packages/tap_outreach/init.py", line 46, in main 2022-02-08 15:18:20,325Z tap - sync(client, 2022-02-08 15:18:20,325Z tap - File "/code/orchestrator/tap-env/lib/python3.8/site-packages/tap_outreach/sync.py", line 336, in sync 2022-02-08 15:18:20,325Z tap - sync_endpoint(client, config, catalog, state, 2022-02-08 15:18:20,325Z tap - File "/code/orchestrator/tap-env/lib/python3.8/site-packages/tap_outreach/sync.py", line 313, in sync_endpoint 2022-02-08 15:18:20,325Z tap - max_modified = process_records(stream, 2022-02-08 15:18:20,325Z tap - File "/code/orchestrator/tap-env/lib/python3.8/site-packages/tap_outreach/sync.py", line 219, in process_records 2022-02-08 15:18:20,325Z tap - raise Exception( 2022-02-08 15:18:20,325Z tap - Exception: Only data or links expected in relationships 2022-02-08 15:18:20,326Z main - INFO Target exited normally with status 0 2022-02-08 15:18:21,324Z main - INFO [smart-services] event successfully sent to kafka: com.stitchdata.extractionJobFinished [15] at offset None 2022-02-08 15:18:21,330Z main - INFO No tunnel subprocess to tear down 2022-02-08 15:18:21,330Z main - INFO Exit status is: Discovery succeeded. Tap failed with code 1 and error message: "Only data or links expected in relationships". Target succeeded.

samlevan commented 2 years ago

Ditto on this one. Reporting the same issue. Outreach tap has started failing. It fails when trying to pull the "accounts" and the "prospects" entities (it continues to work for other tables). Something probably changed in the Outreach API. Would love some help from the community.

danielalvesvm commented 2 years ago

Apparently the "prospects" has been fixed already (today) but the "accounts"s still returning the same error.

willhasgithub commented 2 years ago

Confirmed: syncing "prospects" no longer throws an error.

asharmaupland commented 2 years ago

Yes prospects issue resolved.

willhasgithub commented 2 years ago

Syncing "accounts" no longer throws an error.

samlevan commented 2 years ago

FWIW Confirming problem fixed as well for both accounts and prospects. Thanks team, you rock.

danielalvesvm commented 2 years ago

all back to normal here, thanks!

asharmaupland commented 2 years ago

Problem Solved.

Thanks


From: danielalvesvm @.> Sent: 10 February 2022 12:07 To: singer-io/tap-outreach @.> Cc: Ashish Sharma @.>; Author @.> Subject: Re: [singer-io/tap-outreach] Only data or links expected in relationships (Issue #16)

all back to normal here, thanks!

— Reply to this email directly, view it on GitHubhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsinger-io%2Ftap-outreach%2Fissues%2F16%23issuecomment-1035257231&data=04%7C01%7Casharma%40uplandsoftware.com%7Cc4deb0377bcb4fc96e1108d9ecc02fae%7Cdd02d1e4d2a8462892c81f4b5de6419b%7C0%7C0%7C637801132454985647%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xQSxEBUix5uQVlKrEFIeU8bQlyoRLR49cL8a9o7XF78%3D&reserved=0, or unsubscribehttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAXVMMQRRSUVQ3I5VHPFSGE3U2P5FVANCNFSM5N2Z7GOQ&data=04%7C01%7Casharma%40uplandsoftware.com%7Cc4deb0377bcb4fc96e1108d9ecc02fae%7Cdd02d1e4d2a8462892c81f4b5de6419b%7C0%7C0%7C637801132454985647%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=P1mVXUiOZkXe30oAVLmdadAxF8URuEfFCK%2FxG6PLBEc%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7Casharma%40uplandsoftware.com%7Cc4deb0377bcb4fc96e1108d9ecc02fae%7Cdd02d1e4d2a8462892c81f4b5de6419b%7C0%7C0%7C637801132454985647%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=UucMiTDE7FBkjGMg4qOeoQWYRZsDad49bWyjW4M3u38%3D&reserved=0 or Androidhttps://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7Casharma%40uplandsoftware.com%7Cc4deb0377bcb4fc96e1108d9ecc02fae%7Cdd02d1e4d2a8462892c81f4b5de6419b%7C0%7C0%7C637801132454985647%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=4qQxnF46H9twWnM%2BE23GRPVnf30jbjLJbifBa2AWKw8%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>