3CX and JobAdder

Status
Not open for further replies.

Chris Harrison-Burgess

Platinum Partner
Advanced Certified
Joined
Sep 11, 2018
Messages
8
Reaction score
0
Hi all

Im trying my first CRM integration using the template generator and not getting very far!
The CRM is called JobAdder.
I have done everything that i think is correct, but im getting an error when im trying to authorize.

Error occured while accessing CRM. Please check log provided.
Started OAuthGetRefreshToken
Request text: https://id.jobadder.com/connect/token
Request form value code set to
Request form value grant_type set to authorization_code
Request form value client_id set to
Request form value client_secret set to
Request form value redirect_uri set to https://MYCOMPANY.3cx.co.uk/api/oauth2crm
Request form value state set to
Request form value scope set to read read_candidate read_contact read_company read_user
Response text: {"access_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxxxx","expires_in":3600,"token_type":"Bearer","api":"https://eu1api.jobadder.com/v2/","instance":"eu1","account":3296}
Response finished
Finished OAuthGetRefreshToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)

I have blanked out the url of the instance.

Can anyone help?

Thanks

Chris
 
Hi all

Im trying my first CRM integration using the template generator and not getting very far!
The CRM is called JobAdder.
I have done everything that i think is correct, but im getting an error when im trying to authorize.

Error occured while accessing CRM. Please check log provided.
Started OAuthGetRefreshToken
Request text: https://id.jobadder.com/connect/token
Request form value code set to
Request form value redirect_uri set to https://MYCOMPANY.3cx.co.uk/api/oauth2crm
Request form value state set to
Request form value scope set to read read_candidate read_contact read_company read_user
Response text: {"access_token":"","expires_in":3600,"token_type":"Bearer","api":"https://eu1api.jobadder.com/v2/","instance":"eu1","account":3296}
Response finished
Finished OAuthGetRefreshToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)

I have blanked out the url of the instance.

Can anyone help?

Thanks

Chris
Remove the client id and secret from this immediately. Access token as well.
 
Last edited:
Hi all

Im trying my first CRM integration using the template generator and not getting very far!
The CRM is called JobAdder.
I have done everything that i think is correct, but im getting an error when im trying to authorize.

Error occured while accessing CRM. Please check log provided.
Started OAuthGetRefreshToken
Request text: https://id.jobadder.com/connect/token
Request form value code set to
Request form value grant_type set to authorization_code
Request form value client_id set to
Request form value client_secret set to
Request form value redirect_uri set to https://MYCOMPANY.3cx.co.uk/api/oauth2crm
Request form value state set to
Request form value scope set to read read_candidate read_contact read_company read_user
Response text: {"access_token":"","expires_in":3600,"token_type":"Bearer","api":"https://eu1api.jobadder.com/v2/","instance":"eu1","account":3296}
Response finished
Finished OAuthGetRefreshToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)

I have blanked out the url of the instance.

Can anyone help?

Thanks

Chris
And you need to set the variables in your GetRefreshToken. What does the XML look like?
 
Last edited:
Oops, didnt think about the tokens! I have removed them but they are still on your comments!

Attached XML file

Thanks
 

Attachments

I already provided my comments in the support ticket you created for this. It seems you need to add the "offline_access" scope, so the CRM returns the refresh_token in addition to the access_token.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
112,323
Messages
591,896
Members
165,474
Latest member
costionofrei