ActiveResource::UnauthorizedAccess: Failed with 401 Unauthorized Unauthorized

scott's Avatar

scott

04 May, 2010 08:42 PM

I'm using the Ruby library to access Lighthouse API. I'm authenticating using a token. This call works fine:

Lighthouse::Project.find(:all)

This call results in the error that is the subject of this discussion:

Lighthouse::Ticket.find(:all)

Help!

  1. 1 Posted by towski on 07 May, 2010 05:19 PM

    towski's Avatar

    Once you find the projects, you need to call project.tickets per project, you can't just make a blanket Ticket.find(:all) call.

  2. 2 Posted by scott on 17 May, 2010 08:08 AM

    scott's Avatar

    Fair enough, would be good if the error said as much. :)

  3. Nicole closed this discussion on 05 Jul, 2010 08:07 PM.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac