Integration failed due to error receive on code

We are integrating freshdesk with the onboarding portal for internal requirements but we got an error while I am running this code.

Please find the below code and an error message.

Request you to raise a ticket for this and provide some resolution.

=================Using below mention code=============

curl --location ‘
–header ‘accept: application/json’
–header 'Authorization: Bearer{Freshchat Token}
–header ‘Content-Type: application/json’
–data ‘{
“from”: {
“phone_number”: “+918929688533”
“provider”: “whatsapp”,
“to”: [
“phone_number”: “{{number}}”
“data”: {
“message_template”: {
“storage”: “none”,
“template_name”: “payout_invoice_01_”,
“namespace”: “7cdc83cc_50e2_4ec4_91ca_b578f0e084d9”,
“language”: {
“policy”: “deterministic”,
“code”: “en_US”


==============Getting below mention error==============

“success”: false,
“error_code”: 0,
“error_message”: “java.lang.RuntimeException: Token not present”


Hey @Naincy_Sharma,
From the error message, looks like the token header 'Authorization: Bearer{Freshchat Token} is not being passed, if you pass the right token, this should be resolved.

Hi @zach_jones_noel

I used my freshchat api token for further integration and also use this token for multiple works.

Hey @Naincy_Sharma,
I’ve raised a support ticket about this to help you further.

This topic was automatically closed 6 days after the last reply. New replies are no longer allowed.