Getting messages via API

Mike's Avatar

Mike

23 Sep, 2009 08:38 PM

I'm able to view my projects via the API, but when I try to view messages I can a useless error. I'm pretty sure that I'm using the correct syntax, according to the Messages API docs section.

Here's the request I'm sending:
GET /projects/MYPROJECTID/messages.xml HTTP/1.1
Host: doi.lighthouseapp.com
Connection: close
Accept-encoding: gzip, deflate
User-Agent: Zend_Http_Client
Authorization: Basic MYAUTHSTUFF
Content-Type: application/xml

I get back a page that says "Sorry, you've stumbled on an error".

Am I doing something incorrectly?

  1. 1 Posted by Mike on 24 Sep, 2009 06:40 PM

    Mike's Avatar

    It seems my requests are only successful some of the time. Sometimes I get a valid XML response back and then a few minutes later a 500 response code when sending an identical request.

    Is there a problem with the API? Am I making calls too frequently while I'm testing my code?

  2. 2 Posted by Rick on 28 Sep, 2009 04:03 AM

    Rick's Avatar

    How often are you making the calls?

  3. Nicole closed this discussion on 04 Nov, 2009 07:28 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