Closed michaelcoallsl closed 1 year ago
InvokeTelephonyIntegration API and invokeSalesforceRestAPI should use different sets of keys. Can you create a customer case with the Salesforce and our support can guide you more on this.
You can follow this document - https://developer.salesforce.com/docs/atlas.en-us.240.0.voice_developer_guide.meta/voice_developer_guide/voice_lambda_connected_app_oauth.htm and make sure that you save the digital certificate in the Salesforce connected app as well as private key in the AWS Parameter store for invokeSalesforceRest API lambda.
I am having issues using the ServiceCloudVoiceLambdas - InvokeSalesforceRestApi Functions. Specifically the queryRecord method. I have followed the documentation from your website and when I reach the "Test OAuth with Service Cloud Voice Lambda Function" I get the response { "success": false, "status": 500 } I'd like to note that the invoketelephonyintegration function works correctly and the invokesalesforcerestapi function is using the same key. What is the configuration for the variables suppose to be. Am I required to input my domain name in the endpoints or just using https://test.salesforce.com this is the SOQL query
I've been going off this documenation https://resources.docs.salesforce.com/latest/latest/en-us/sfdc/pdf/support_voice_pt_amazon_connect.pdf and also https://developer.salesforce.com/docs/atlas.en-us.240.0.voice_developer_guide.meta/voice_developer_guide/voice_lambda_oauth_test.htm