Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

NullPointerException for error = null at Bad Request 400 #496

Open
michael-sparrow opened this issue Apr 29, 2024 · 0 comments
Open

NullPointerException for error = null at Bad Request 400 #496

michael-sparrow opened this issue Apr 29, 2024 · 0 comments

Comments

@michael-sparrow
Copy link

In ResponseBodyCallBack.onResponse() there is a Exception being instantiated for Bad Requests 400. Since the error of the Exception is null it causes a NullPointerException to be thrown instead of the OpenAiHttpException.

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

No branches or pull requests

1 participant