Skip to content

Conversation

@neenapj
Copy link
Contributor

@neenapj neenapj commented Oct 1, 2025

Sending multipart/form-data with MicorProfileRestClient asynchronous results in exception. The same Request works synchronous as expected. During analysis it was found that the data is not coming as a GenericEntity to the available MessageBodyWriters in async flow, thus resulting in an incorrect MBW being picked up, which results in an exception. Further analysis led to the ClientInvoker.invokeAsync() method where this data is set to entity. Here entity is set in raw format and thus going as a immutable list to the downstream. So a code fix is required to cast the data to GenericEntity if it's not originally.

@jamezp jamezp merged commit fe5aec4 into resteasy:main Oct 8, 2025
5 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants