I’m trying to use the REST API that’s mentioned in the Tracks documentation. When I try one of the curl examples, I get a 500 error. I’m not sure where I should be looking in the logs to find the actual problem.
Request:
curl -u test-user:XXX -H "Content-Type: text/xml" -d "<project>New Project</project>" http://tracks.coxian.org/projects.xml -i
Response:
HTTP/1.1 500 Internal Server Error
Date: Sat, 20 Nov 2010 16:39:52 GMT
Server: Mongrel 1.1.5
Status: 500 Internal Server Error
Content-Type: text/html; charset=utf-8
Content-Length: 318
Cache-Control: no-cache
Set-Cookie: _tracks_session_id=c6edf7e7d6c2a45cc563a8f555f69dce; path=/
Via: 1.1 tracks.coxian.org
Vary: Accept-Encoding
Connection: close
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h1>Application error (Apache)</h1>
<p>Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html</p>
</body>
</html>
Any help would be greatly appreciated!


