- Joined
- Jun 26, 2021
- Messages
- 17
- Reaction score
- 3
Hi friends,
The integration between Salesforce and 3CX is failing - can't authorize the token, getting the log below:
Error occured while accessing CRM. Please check log provided.
Started OAuthGetAccessToken
Request text: https://login.salesforce.com/services/oauth2/token
Request form value code set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Request form value grant_type set to authorization_code
Request form value client_id set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Request form value client_secret set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Request form value redirect_uri set to https://XXXXXXXXXXXXXXXX:5001/api/oauth2crm
Request form value state set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Response text: {"access_token":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","signature":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","scope":"full","id_token":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","instance_url":"https://XXXXXXXXXXXXX.my.salesforce.com","id":"https://login.salesforce.com/id/XXXXXXXXXXXI/XXXXXXXXXXXXX","token_type":"Bearer","issued_at":"XXXXXXXX"}
Response finished
Finished OAuthGetAccessToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)
Any ideas what could be wrong?
The integration between Salesforce and 3CX is failing - can't authorize the token, getting the log below:
Error occured while accessing CRM. Please check log provided.
Started OAuthGetAccessToken
Request text: https://login.salesforce.com/services/oauth2/token
Request form value code set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Request form value grant_type set to authorization_code
Request form value client_id set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Request form value client_secret set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Request form value redirect_uri set to https://XXXXXXXXXXXXXXXX:5001/api/oauth2crm
Request form value state set to XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Response text: {"access_token":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","signature":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","scope":"full","id_token":"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX","instance_url":"https://XXXXXXXXXXXXX.my.salesforce.com","id":"https://login.salesforce.com/id/XXXXXXXXXXXI/XXXXXXXXXXXXX","token_type":"Bearer","issued_at":"XXXXXXXX"}
Response finished
Finished OAuthGetAccessToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)
Any ideas what could be wrong?