Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. "An internal error has occurred" Error on editing a Feature or task

"An internal error has occurred" Error on editing a Feature or task

Added by N F over 8 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”>

<TITLE>

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

{&quot;lockVersion&quot;:1,&quot;subject&quot;:&quot;Test AMD Feature&quot;,&quot;percentageDone&quot;:0,&quot;estimatedTime&quot;:null,&quot;description&quot;:{&quot;format&quot;:&quot;textile&quot;,&quot;raw&quot;:&quot;description&quot;,&quot;html&quot;:&quot;&quot;},&quot;parentId&quot;:null,&quot;startDate&quot;:null,&quot;dueDate&quot;:null,&quot;storyPoints&quot;:null,&quot;remainingTime&quot;:null,&quot;_links&quot;:{&quot;type&quot;:{&quot;href&quot;:&quot;/api/v3/types/4&quot;},&quot;status&quot;:{&quot;href&quot;:&quot;/api/v3/statuses/1&quot;},&quot;assignee&quot;:{&quot;href&quot;:&quot;/api/v3/users/13&quot;},&quot;responsible&quot;:{&quot;href&quot;:null},&quot;category&quot;:{&quot;href&quot;:null},&quot;version&quot;:{&quot;href&quot;:&quot;/api/v3/versions/24&quot;},&quot;priority&quot;:{&quot;href&quot;:&quot;/api/v3/priorities/8&quot;},&quot;parent&quot;:{&quot;href&quot;:null},&quot;project&quot;:{&quot;href&quot;:&quot;/api/v3/projects/3&quot;},&quot;costObject&quot;:{&quot;href&quot;:null},&quot;self&quot;:{&quot;href&quot;:null,&quot;title&quot;:&quot;&quot;,&quot;method&quot;:&quot;get&quot;,&quot;templated&quot;: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)

RE: "An internal error has occurred" Error on editing a Feature or task - Added by Oliver Günther over 8 years ago

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

  • (1 - 1/1)
Loading...