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

Internal Server Error When the Response Body is Empty for the AI API Chat Resource Invocation #3285

Closed
dakshina99 opened this issue Oct 21, 2024 · 1 comment

Comments

@dakshina99
Copy link

Description

Description

When making a request to the AI API chat resource, an internal server error (HTTP 503) occurs when the response body is empty. This behavior is unexpected, as the server should handle empty responses gracefully rather than returning a 503 error.

image

Steps to Reproduce

  1. Make a request to the MistralAIAPI chat resource for the default given parameters.
  2. Ensure that the server sends an empty response body.

Affected Component

APIM

Version

4.4.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@AnuGayan
Copy link

This cannot be fixed as this is coming from the backend.

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

No branches or pull requests

2 participants