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

Dataset schema validation: add data property to API error object #306

Closed
katacek opened this issue Dec 5, 2024 · 1 comment · Fixed by #314
Closed

Dataset schema validation: add data property to API error object #306

katacek opened this issue Dec 5, 2024 · 1 comment · Fixed by #314
Assignees
Labels
t-tooling Issues with this label are in the ownership of the tooling team.

Comments

@katacek
Copy link
Member

katacek commented Dec 5, 2024

When dataset schema validation fails, js client returns info about it as a part of the 400 error, it would be great if python client can do it as well.

When added, this part of docs can be updated as well (/dataset_schema/validation.md).

Docs PR for dataset schema validation here
How it was added in js here

@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Dec 5, 2024
@Pijukatel
Copy link
Contributor

Added data to error: #314
Document update: apify/apify-docs#1356

Pijukatel added a commit that referenced this issue Dec 16, 2024
Add error data to ApifyApiError when available.
Add tests.

Closes: #306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants