Solved HubSpot integration

Status
Not open for further replies.

TSTChester

Trainee Partner
Joined
Dec 19, 2022
Messages
7
Reaction score
1
Hi there,

We are trying to test how easy it is to integrate HubSpot in readiness for a meeting with a proposed new customer for 3CX - we think we have done everything right following a guide however when we run test we get the following:

Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason=Bad Request - Content={"status":"BAD_REFRESH_TOKEN","message":"missing or invalid refresh token","correlationId":"ea4c723c-4dc8-43ba-9d80-26cad9662a7f"}

Any ideas?

thanks
 
Have you configured the CRM integration while accessing the PBX with the local ip of the PBX or via FQDN?
 
We are working on a cloud hosted platform- if that helps ?
 
I would suggest that you delete this app from the developer account and create a new.
 
Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason=Bad Request - Content={"status":"BAD_REFRESH_TOKEN","message":"missing or invalid refresh token","correlationId":"ea4c723c-4dc8-43ba-9d80-26cad9662a7f"}
From the error, it seems that you don't have a Refresh Token. Did you click the Authorize button as explained in the guide?
 
Hi

yes we did but we now getting this when clicking autherize

1689072499187.png
 
This is because you're not properly configuring the app you create in HubSpot. What's the Redirect URL configured in the app? And what URL do you use to access the 3CX management console when you do the authorization?
 
HI,

the redirect is https://tsthq.3cx.uk/ - which is also our URL we use to log in into the 3cx management console.

thanks
 
  • Like
Reactions: Evolute IT
Ahh I have done this and doesn't return an error now so think it is working

Is there any other steps I need to take to sorry for a silly question but how do i know its all working ??
 
You have the Test button in the 3CX Console > Settings > CRM, which will run a contact lookup by phone number. If you see the contact details, then the integration is working.
 
Ahh thank you - works great thank you for your assistance
 
  • Like
Reactions: edossantos
Glad to know!
 
Status
Not open for further replies.