Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Add Credentials To SIPCredentials List

Prev Next
Step Details
Introduced in Version4.0.0
Last Modified in Version7.12.0
LocationIntegration > Twilio > Admin

The Add Credentials To SIPCredentials List step allows the user to add a specified user to a list of credentials.

Prerequisites 


Properties

Inputs

PropertyDescriptionData Type
List To Add User ToThe credential list to which the user will be added.CredentialList
PasswordThe user's password.String
User NameThe user's username.String



Common Errors

ListToAddUserToo must have a valid FriendlyName and SID

If the FriendlyName or SID field inputs are invalid, the step will cause an error.


To correct this, ensure that the FriendlyName and SID are valid. The FriendlyName and SID may also be loaded in from XML or JSON data.

Exception Message:

DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Add Credentials To SIPCredentials List 1[AddCredentialsToSIPCredentialsList] in flow [Twilio]: Exception invoking method AddCredentialsToSIPCredentialsList on class TwilioAdminSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method AddCredentialsToSIPCredentialsList on class TwilioAdminSteps
 ---> Twilio.Exceptions.ApiException: The requested resource /2010-04-01/Accounts/ACa0e6529b26b445ba0214f991b129bbbf/SIP/CredentialLists/CR1234567890abcdef1234567890abcdef.json was not found at Twilio.Clients.TwilioRestClient.ProcessResponse(Response response)
 at Twilio.Clients.TwilioRestClient.Request(Request request)
 at Twilio.Rest.Api.V2010.Account.Sip.CredentialListResource.Fetch(FetchCredentialListOptions options, ITwilioRestClient client)
 at Twilio.Rest.Api.V2010.Account.Sip.CredentialListResource.Fetch(String pathSid, String pathAccountSid, ITwilioRestClient client)
 at Decisions.Telephony.Service.Twilio.TwilioAdminSteps.AddCredentialsToSIPCredentialsList(CredentialList listToAddUserTo, String UserName, String Password)
 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
 at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data)
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData)
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---