HttpClient createAuthorizationHeaders TOKEN
Closed this issue · 2 comments
Hi,
I'm using the java sdk and got an error when replying a conversation.
Inspecting the source code showed me that the Authorization header was not using the Bearer token.
I've downloaded the source code and changed it my project.
Is this the designed behaviour?
The code I downloaded and changed in my project.
Version info
- intercom-java version: 2.7
- Java version: 1.8
Hmmm I'm not able to replicate this @RafaelCavazza
Would you mind sharing the code you're using that throws the error? That may help us replicate it 👍
Below is a test I did and it worked successfully
Intercom.setToken(TOKEN);
Admin admin = new Admin().setId("248698");
AdminReply adminReply = new AdminReply(admin);
adminReply.setBody("These apples are healthsome 1 2 3");
Conversation.reply("19223366014", adminReply);
Would you mind sharing the code that you used?
I'm going to close out this issue as I can't replicate things but feel free to reopen @RafaelCavazza if you can provide some replication steps for us to see the error 👍