singer-io / tap-bing-ads

A Singer.io tap for extracting data from the Bing Ads API
GNU Affero General Public License v3.0
12 stars 28 forks source link

Stitch API error #16

Closed SeanFLynch closed 6 years ago

SeanFLynch commented 6 years ago

Hi,

We keep getting the following error when running the Stitch tap:

"2018-03-01 09:12:55,722Z main - INFO Exit status is: Discovery succeeded. Tap failed with code 1 and error message: "Error running AdGroupPerformanceReport report". Target succeeded."

Any ideas?

Sean.

KAllan357 commented 6 years ago

Hi @SeanFLynch, I see some logging that indicates one of the reports failed. I'm not sure of the reason, that would take some more debugging:

2018-03-02 09:13:00,838Z    tap - Exception: Error running AdGroupPerformanceReport report
2018-03-02 09:13:01,016Z    tap - INFO "generate_report" job took 0.5s, ended with status "failed"

It looks like the report's status comes back as "Failed" which is documented by Bing as:

An error occurred while generating the report. You will need to submit your report request again. If the request continues to fail, consider getting the tracking identifier from the response message and contacting support.

https://docs.microsoft.com/en-us/bingads/reporting-service/reportrequeststatustype

KAllan357 commented 6 years ago

Opening an issue to add logging so we can see the report tracking identifier: https://github.com/singer-io/tap-bing-ads/issues/17