Skip to content

API's data_retrieval not working as explained in the documentation #9315

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

Open
2 tasks done
ggs22 opened this issue Apr 8, 2025 · 0 comments
Open
2 tasks done

API's data_retrieval not working as explained in the documentation #9315

ggs22 opened this issue Apr 8, 2025 · 0 comments
Labels
documentation Documentation should be updated

Comments

@ggs22
Copy link

ggs22 commented Apr 8, 2025

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. I'm trying to follow the example from https://docs.cvat.ai/docs/api_sdk/sdk/reference/apis/tasks-api/#retrieve_data
  2. when I call api_client.tasks_api.retrieve_data(task_id), I get this error message: "HTTP response body: ["Data type not specified or has wrong value"]" . However according to the documentation the only required parameter should be the job ID. I get the same error if I try using api_client.jobs_api.retrieve_data(job_id).

Expected Behavior

Retrieving the data of the specified task by passing only the task ID if the documentation is right.

If it is wrong then it should be updated.

Possible Solution

Possibly simply update the doc.

Context

No response

Environment

- SDK version: 2.32.0
- Server version: 2.32.0
- Python 3.10
@ggs22 ggs22 added the bug Something isn't working label Apr 8, 2025
@bsekachev bsekachev added documentation Documentation should be updated and removed bug Something isn't working labels Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation should be updated
Projects
None yet
Development

No branches or pull requests

2 participants