You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded the Twilio-CLI was able to successfully run other commands after setting up my authorization. Such as twilio phone-numbers list when I attempted to run the command I desired it failed with an error of twilio-cli encountered an unexpected error please run this with the -l debug flag and submit the results here. I am on Windows for clarity. and tried running the command from both CMD prompt and Powershell with the same error.
# » twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio/twilio-cli/issues"
Technical details:
twilio-cli version: twilio-cli/5.7.0 win32-x86
node version:node-v16.20.0
Command output with debug logging enabled (adding -l debug to the end of the command):
# twilio api:trusthub:v1:trust-products:channel-endpoint-assignments:create --trust-product-sid myTrustsidhere --channel-endpoint-type phone-number --channel-endpoint-sid mynumbersidhere -l debug
[DEBUG] Config File: C:\Users\redacted\.twilio-cli\config.json
[DEBUG] Using profile: mine
[DEBUG] Schema for "trust-product-sid": {"type":"string","minLength":34,"maxLength":34,"pattern":"^BU[0-9a-fA-F]{32}$"}
[DEBUG] Schema for "channel-endpoint-type": {"type":"string","description":"The type of channel endpoint. eg: phone-number"}
[DEBUG] Schema for "channel-endpoint-sid": {"type":"string","minLength":34,"maxLength":34,"pattern":"^[a-zA-Z]{2}[0-9a-fA-F]{32}$","description":"The SID of an channel endpoint"}
[DEBUG] Provided flags: {"trust-product-sid":"trustsid","channel-endpoint-type":"phone-number","channel-endpoint-sid":"numbersid","cli-log-level":"debug","cli-output-format":"columns","silent":false,"skip-parameter-validation":false,"properties":"sid"}
[DEBUG] domainName=trusthub, path=/v1/TrustProducts/{TrustProductSid}/ChannelEndpointAssignments, actionName=create
[DEBUG] pathNode=TrustProductSid, value=mytrustsidhere
[DEBUG] -- BEGIN Twilio API Request --
[DEBUG] post https://trusthub.twilio.com/v1/TrustProducts/mysidhere/ChannelEndpointAssignments
[DEBUG] Form data:
[DEBUG] ChannelEndpointType=phone-number&ChannelEndpointSid=mysidhere
[DEBUG] Custom HTTP Headers:
[DEBUG] User-Agent: twilio-cli/5.7.0 @twilio/cli-core/7.9.0 (win32 ia32) twilio-api-client/7.9.0 api:trusthub:v1:trust-products:channel-endpoint-assignments:create
[DEBUG] -- END Twilio API Request --
[DEBUG] Found command "api:trusthub:v1:trust-products:channel-endpoint-assignments:create" plugin: twilio-cli
» twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio/twilio-cli/issues"
[DEBUG] self signed certificate in certificate chain
[DEBUG] Error: self signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1539:34)
at TLSSocket.emit (node:events:513:28)
at TLSSocket._finishInit (node:_tls_wrap:953:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:734:12)
The text was updated successfully, but these errors were encountered:
Hey @kschmitz222 ,thanks for reaching out. We have added this in our internal backlog. Pull requests and +1s on the feature request will help it move up the backlog.
This issue is stale because it has been open for 30 days with no activity. Please remove stale label or comment or this issue will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
This issue was closed because it has been stalled for 30 days with no activity. Please open a new issue if the issue is still relevant, linking to this one.
Issue Summary
I downloaded the Twilio-CLI was able to successfully run other commands after setting up my authorization. Such as twilio phone-numbers list when I attempted to run the command I desired it failed with an error of twilio-cli encountered an unexpected error please run this with the -l debug flag and submit the results here. I am on Windows for clarity. and tried running the command from both CMD prompt and Powershell with the same error.
Steps to Reproduce
Code Snippet
Exception/Log
Technical details:
-l debug
to the end of the command):The text was updated successfully, but these errors were encountered: