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

Missing method from okhttp3 dependency #29

Open
v-mladenov opened this issue Aug 9, 2023 · 0 comments
Open

Missing method from okhttp3 dependency #29

v-mladenov opened this issue Aug 9, 2023 · 0 comments

Comments

@v-mladenov
Copy link

In KnockHttp::objectToJsonRequestBody method, ReponseBody::create(byte[]) is being called. However as far as I can tell this method does not exist in the okhttp3 dependency.

Came across this issue when integrating our application with the Knock SDK and trying to call KnockApiClient::bulkIdentify()

Caused by: java.lang.NoSuchMethodError: 'okhttp3.RequestBody okhttp3.RequestBody.create(byte[])'
	at app.knock.api.http.KnockHttp.objectToJsonRequestBody(KnockHttp.java:42) ~[knock-client-0.2.7.jar:na]
	at app.knock.api.resources.UsersResource.bulkIdentify(UsersResource.java:126) ~[knock-client-0.2.7.jar:na]
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

No branches or pull requests

1 participant