Skip to main content

Setting up now first time, have config.json with generated key via box console, and 2FA via authy etc.


Any API call results in same error



error:0909006C:PEM routines:get_name:no start line



Viewing configure:environments:get I think maybe am missing inline key? I assumed all this would be handled in the config file I added auth credentials to



Has Inline Private Key: true
Private Key Path: null
Name: default
Default As-User ID: null
Use Default As-User: false
Cache Tokens: true



Version @box/cli/2.9.0 darwin-x64 node-v14.16.0

It sounds like something wonky is happening with your config file? Can I see a screenshot of it? Please blur/edit out the passphrase/key/secret information. That's not something you want to post on a forum. 


Thanks, 


Alex, Box Developer Advocate


I am also getting same error when trying to authenticate with box-node-sdk.
Any suggestion ???


Reply