Content
"An internal error has occurred" Error on editing a Feature or task
Added by N F over 7 years ago
application-5a0de7f….js:27160 PATCH http://openproject.fue.gxxx.de/api/v3/work_packages/42 400 (Bad Request)
(anonymous) @ application-5a0de7f….js:27160
sendReq @ application-5a0de7f….js:26925
serverRequest @ application-5a0de7f….js:26720
processQueue @ application-5a0de7f….js:31532
(anonymous) @ application-5a0de7f….js:31548
$eval @ application-5a0de7f….js:32831
$digest @ application-5a0de7f….js:32644
$apply @ application-5a0de7f….js:32939
done @ application-5a0de7f….js:26980
completeRequest @ application-5a0de7f….js:27182
requestLoaded @ application-5a0de7f….js:27115
application-5a0de7f….js:29069 TypeError: Cannot create property ‘_links’ on string ’<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>
ERROR: The requested URL could not be retrieved
</TITLE> <STYLE type="text/css"> </STYLE>ERROR
The requested URL could not be retrieved
While trying to process the request:
PATCH http://openproject.fue.xxxxx.de/api/v3/work_packages/42 HTTP/1.1 Host: openproject.fue.xxxx.de Proxy-Connection: keep-alive Content-Length: 654 X-Authentication-Scheme: Session Origin: http://openproject.fue.xxxxx.de X-CSRF-TOKEN: uy/fZENKyGlP2txcIclg/5cr0EFF1IS69JnVvioJjEcubLyr90MeL441DPQHLHwGJB2msAe+L46YYjxDuPN60g== User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36 Content-Type: application/json;charset=UTF-8 Accept: application/json X-Requested-With: XMLHttpRequest caching: [object Object] Referer: http://openproject.fue.xxxxx.de/projects/xxxx/work_packages/details/42/overview Accept-Encoding: gzip, deflate, sdch Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4,en-GB;q=0.2 Cookie: _open_project_session=b8349efb5f04a9f9265eab0cfdbd4821 {"lockVersion":1,"subject":"Test AMD Feature","percentageDone":0,"estimatedTime":null,"description":{"format":"textile","raw":"description","html":""},"parentId":null,"startDate":null,"dueDate":null,"storyPoints":null,"remainingTime":null,"_links":{"type":{"href":"/api/v3/types/4"},"status":{"href":"/api/v3/statuses/1"},"assignee":{"href":"/api/v3/users/13"},"responsible":{"href":null},"category":{"href":null},"version":{"href":"/api/v3/versions/24"},"priority":{"href":"/api/v3/priorities/8"},"parent":{"href":null},"project":{"href":"/api/v3/projects/3"},"costObject":{"href":null},"self":{"href":null,"title":"","method":"get","templated":false}}}
The following error was encountered:
- Invalid Request
Some aspect of the HTTP Request is invalid. Possible problems:
-
Missing or unknown request method
-
Missing URL
-
Missing HTTP Identifier (HTTP/1.0)
-
Request is too large
-
Content-Length missing for POST or PUT requests
-
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
Generated Tue, 07 Feb 2017 12:53:34 GMT by router.fue.xxxx.de (squid/2.7.STABLE5)
’
at setSource (application-5a0de7f….js:175463)
at initializeResource (application-5a0de7f….js:175455)
at HalResource.$initialize (application-5a0de7f….js:175442)
at new HalResource (application-5a0de7f….js:175357)
at HalResourceFactoryService.createHalResource (application-5a0de7f….js:175150)
at createResource (application-5a0de7f….js:175080)
at application-5a0de7f….js:175088
at processQueue (application-5a0de7f….js:31532)
at application-5a0de7f….js:31548
at Scope.$eval (application-5a0de7f….js:32831)
(anonymous) @ application-5a0de7f….js:29069
(anonymous) @ application-5a0de7f….js:25616
processQueue @ application-5a0de7f….js:31540
(anonymous) @ application-5a0de7f….js:31548
$eval @ application-5a0de7f….js:32831
$digest @ application-5a0de7f….js:32644
$apply @ application-5a0de7f….js:32939
done @ application-5a0de7f….js:26980
completeRequest @ application-5a0de7f….js:27182
requestLoaded @ application-5a0de7f….js:27115
Replies (1)
You’re likely using a proxy that prohibits
PUT, PATCH
HTTP methods. Please see other threads in this forum, they all ended up having the same problem. You’ll need to configure your http server to allow these methods through the proxy.Best,
Oliver