We use cookies and other tools to enhance your experience on our website and to analyze our web traffic.
For more information about these cookies and the data collected, please refer to our Privacy Policy.

couldn't paste token

3 posts
bio
Was this reply useful? Learn more...
 
[-]
gulsevin2 +0 points · over 1 year ago

Hello, I've downoad Ruby and 3.1.3-1(x64) and try to download NCH Sleep DataBank and Home Positive Airway Pressure databanks but ı couldn't enter token.

may u offer me a different way.

Thanks

446 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 1 year ago

The token is not shown when pasted or typed at the command prompt. Try pressing enter and continuing in the process.

Thanks for using the site!

3 posts
bio
Was this reply useful? Learn more...
 
[-]
gulsevin2 +0 points · over 1 year ago

Thanks for reply.

When ı search for the token mistake ı have found multiple solutions for this situation.

  • pasted the token as you say
  • downloaded the early version of ruby which ı could find is 2.5.0 -->didn't work with GEM
  • start command as admin

but still has same problem. un unauthorized token

Thanks for support

446 posts
bio
Was this reply useful? Learn more...
 
[-]
mrueschman +0 points · over 1 year ago

I'm guessing it's a problem with the pasting. Try both "CTRL+V" and clicking the Command Prompt icon in the upper left of the window, then going to Edit, and then Paste.

I upgraded to the latest Ruby 3.1.3 to confirm the download process still works, which it did for me.

Another option is to include your token in the nsrr download command itself. Instead of running nsrr download nchsdb try the following:

nsrr download nchsdb --token=<insert token here>

That is, if your token was 12345 the command could look like nsrr download nchsdb --token=12345