twilio / twilio-cli

Unleash the power of Twilio from your command prompt
MIT License
162 stars 79 forks source link

Cannot create an item in a locked collection #216

Closed dennisong45 closed 4 years ago

dennisong45 commented 4 years ago

Issue Summary

twilio login having an error after inputting infomation.

Node Version v12.18.3, Ubuntu 16.04

Steps to Reproduce

  1. twilio login -l debug
  2. Insert : Account SID
  3. Insert : Auth Token
  4. Shorthand identifier : abc

Code Snippet

# paste code here

Exception/Log

Technical details:

dennisong45 commented 4 years ago

Is it due to my shorthand identifier? i'm not sure what is it. Thank you.

childish-sambino commented 4 years ago

Looks more like an issue with the keyring being locked. Recommend attempting to unlock the keyring in order for twilio-cli to store credentials there. Or using env vars instead of twilio login: https://www.twilio.com/docs/twilio-cli/general-usage#want-to-use-environment-variables-instead-of-creating-a-profile

dennisong45 commented 4 years ago

It works now. thanks.