# Blackbook::BadCredentialsError: Must be authenticated to access contacts

**URL:** <https://www.ruby-forum.com/t/blackbook-must-be-authenticated-to-access-contacts/169409>\
**Category:** Rails\
**Created:** [June 3, 2009, 11:57am UTC](https://www.ruby-forum.com/t/blackbook-must-be-authenticated-to-access-contacts/169409 "2009-06-03T11:57:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemanth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/7993a0/32.png) [@hemanth](https://www.ruby-forum.com/u/hemanth)\
**Post date:** [June 3, 2009, 11:57am UTC](https://www.ruby-forum.com/t/blackbook-must-be-authenticated-to-access-contacts/169409/1 "2009-06-03T11:57:34Z")

</div>

Hi,

i get

Blackbook::BadCredentialsError: Must be authenticated to access  
contacts.  
from /home/hemanth/5latest/2\_0\_branch/vendor/plugins/cheald-blackbook/  
lib/blackbook/importer/gmail.rb:58:in `scrape_contacts' from /home/hemanth/5latest/2_0_branch/vendor/plugins/cheald-blackbook/ lib/blackbook/importer/page_scraper.rb:30:in`fetch\_contacts!’  
from /home/hemanth/5latest/2\_0\_branch/vendor/plugins/cheald-blackbook/  
lib/blackbook/importer/base.rb:29:in `import' from /home/hemanth/5latest/2_0_branch/vendor/plugins/cheald-blackbook/ lib/blackbook.rb:32:in`export’  
from /home/hemanth/5latest/2\_0\_branch/vendor/plugins/cheald-blackbook/  
lib/blackbook.rb:56:in `get' from /home/hemanth/5latest/2_0_branch/vendor/plugins/cheald-blackbook/ lib/blackbook.rb:16:in`get’

from the console.
