My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 3695: Strange behaviour of Issue Tracker API
5 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Reported by justin.forest, Mar 9, 2010
I am trying to update issues with a PHP script. I authenticate using 
ClientLogin API, then post an <entry>. The issue is successfully updated, 
but instead of "200 OK" I get a "401 Invalid token" message.

I never worked with GData or ClientLogin before, so I might be doing 
something wrong, but I find it strange that the server performs the task but 
complains about the token.

PHP source code:

Sample output:

$ php -f tracker.php molinos-cms justin.forest 3
<?xml version='1.0' encoding='UTF-8'?>
<entry xmlns='' 
<content type='html'>a scripted message</content>

Warning: file_get_contents(
cms/issues/3/comments/full): failed to open stream: HTTP request failed! 
HTTP/1.0 401 Token invalid
 in /home/hex/src/tracker.php on line 139
< Response:

Sign in to add a comment

Powered by Google Project Hosting