500 Internal Server Error with REST request
Added by suzie sirena almost 13 years ago
Hi all,
I tried to update an issue via the REST API and I have this error : 500 Internal Server Error
Can you please tell me what's wrong in this request :
Request URL:http://127.0.0.1/redmine/issues/1042.json
Request Method:POST
Status Code:500 Internal Server Error
Request Headersview source
Accept:*/*
Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3
Accept-Encoding:gzip,deflate,sdch
Accept-Language:fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
Connection:keep-alive
Content-Length:39
Content-Type:application/xml
Cookie:_redmine_session=BAh7CzoMdXNlcl9pZGkGOgpxdWVyeXsJOhFjb2x1bW5fbmFtZXMwOg1ncm91cF9ieTA6DGZpbHRlcnN7BiIOc3RhdHVzX2lkewc6C3ZhbHVlc1sGIgA6DW9wZXJhdG9yIgZvOg9wcm9qZWN0X2lkaUg6EF9jc3JmX3Rva2VuIjFiYWwwMlRQdFNEbmMza3RaNmZaeEhKUXdhZmY3ZmhZZGRqNGFnanJhekc0PSIWaXNzdWVzX2luZGV4X3NvcnQiDWR1ZV9kYXRlOg9zZXNzaW9uX2lkIiUwM2JmNmQzOGJhNWQzYTA4ZGRhZTFlNzY3OGZiYjM3ZSIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--f7d5c3d606583c3ed6ebd4b633328084bc2e82b7
Host:127.0.0.1
Origin:chrome-extension://fhjcajmcbmldlhcimfajhfbgofnpcjmb
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1
Request Payload
{"issue":
{
"subject":"eee"
}
}
Response Headersview source
Connection:close
Content-Length:576
Content-Type:text/html
Date:Wed, 19 Oct 2011 17:06:45 GMT
Server:Mongrel 1.1.5
Status:500