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

Response 204 handling in delete_knowledge_base_document API #494

Open
salman-aziz-4425 opened this issue Mar 1, 2025 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@salman-aziz-4425
Copy link

salman-aziz-4425 commented Mar 1, 2025

Description

This returns 204 no content response that force my code to assume it is an error and I had to handle it in exception so it should be handled inside API to avoid confusion among users

As per documentation it should return status code 200 with document Id

Code example

Image

Additional context

Image

@salman-aziz-4425 salman-aziz-4425 added the bug Something isn't working label Mar 1, 2025
@AngeloGiacco AngeloGiacco self-assigned this Mar 3, 2025
@venture-data
Copy link

venture-data commented Mar 4, 2025

Facing the same problem, took us a while to debug but we're glad the issue has already been raised. Thanks @salman-aziz-4425

@V12Hero
Copy link

V12Hero commented Mar 5, 2025

Good catch @salman-aziz-4425, it drove me mad for a while before I finally tried searching for it and came here. Hopefully, it'll be resolved soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants