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

Request failed validation #693

Open
rdeshmukh15 opened this issue Feb 5, 2025 · 0 comments
Open

Request failed validation #693

rdeshmukh15 opened this issue Feb 5, 2025 · 0 comments

Comments

@rdeshmukh15
Copy link

Several of our customers are experiencing the following intermittent issue while running the adCreatives API. We are using facebook-ads version v21.0 and facebook_business version 21.0.5.

Tap failed with code -15. Target failed with code 1 and error message: "Error persisting data to Stitch: 400: {'error': 'Request failed validation:\n#/messages/689: #: 0 subschemas matched instead of one\n#/messages/689: 2 schema violations found\n#/messages/689: extraneous key [data] is not permitted\n#/messages/689: extraneous key [time_extracted] is not permitted\n#/messages/689/data: expected type: JSONObject, found: Null\n'}".

Here’s the codebase we're working with: https://github.com/singer-io/tap-facebook

Since the release of these changes: tap-facebook PR #242, we've been encountering this error intermittently.

I attempted to add the data and time_extracted fields to the schema in adcreative.json, but that didn't resolve the issue.

The error mentioned above seems to be originating from this line of code: target-stitch/init.py#L809.

Can you guide us why we are getting these errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant