-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bad call to okhttp3.RequestBody.create causes NoSuchMethodError #45
Comments
Hi @frnck102 Thanks for highlighting this issue. We'll look into this and circle back soon. Cheers! |
It appears that you have already resolved this issue based on your feedback here using the latest alpha version <dependency>
<groupId>com.squareup</groupId>
<artifactId>square</artifactId>
<version>28.0.0.20230419</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>5.0.0-alpha.11</version>
</dependency> Hence, we are marking this issue as closed. Feel free to re-open the issue anytime you face such an exception again. |
I haven't quite resolved this issue since my SendInBlue APIs are broken due to the exclusions I had to introduce as mentioned in that other post. |
Hi all,
maven/io.apimatic/okhttp-client-adapter@0.1.6 has a dependency on com.squareup.okhttp3:okhttp:4.10.0
According to this page
OkClient.java
at line 210 the apimatic client adapter calls RequestBody.create(content, mediaType).
There is no such method in okhttp3, the correct signature is create(mediaType, content).
Related issue: square/square-java-sdk#104
The text was updated successfully, but these errors were encountered: