-
Notifications
You must be signed in to change notification settings - Fork 43
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 deserialization failure #143
Comments
For a quick problem resolution, I made a small patch in my code using Javassist library
|
I am facing similar issue with 0.0.73 and fixed it by creating a CustomApiClient in which i override isJsonMime(). Now In place of ApiClient use CustomApiClient.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello team,
Looks like the Content-Type header in a server response has been changed recently and is not supported by Java client
I'm getting now the following error when invoking
Api.PaymentsApi.createPayment(CreatePaymentRequest)
. It used to work fine before.Content type "application/hal+json,application/hal+json;charset=utf-8" is not supported for type: class Model.PtsV2PaymentsPost201Response
Please see
https://github.com/CyberSource/cybersource-rest-client-java/blob/master/src/main/java/Invokers/ApiClient.java#L1064
https://github.com/CyberSource/cybersource-rest-client-java/blob/master/src/main/java/Invokers/ApiClient.java#L953
Tried versions 0.0.58 and 0.0.60
Thanks
The text was updated successfully, but these errors were encountered: