LiquidPlanner Classic Forum

Ask a Question
ANSWERED

Getting a 500 error when creating a task with PHP

*Posted on behalf of Mark Langridge. Original post date 2014-06-30* This is pretty much the same problem as the JAVA one posted earlier. However I am using double quotes, and can't see anything else that could be causing this. Target Url https://app.liquidplanner.com/api/workspaces/120300/tasks Posted String `` {"task":{"name":"API Task","parent_id":15821159}} `` The cURL trace is ``` * Adding handle: conn: 0x8eb06b0 * Adding handle: send: 0 * Adding handle: recv: 0 * Curl_addHandleToPipeline: length: 1 * - Conn 0 (0x8eb06b0) send_pipe: 1, recv_pipe: 0 * About to connect() to app.liquidplanner.com port 443 (#0) * Trying 93.184.219.117... * Connected to app.liquidplanner.com (93.184.219.117) port 443 (#0) * SSL connection using ECDHE-RSA-AES128-GCM-SHA256 * Server certificate: * subject: C=US; ST=Washington; L=Seattle; O=LiquidPlanner Inc.; OU=Technology; CN=*.liquidplanner.com * start date: 2014-02-07 00:00:00 GMT * expire date: 2017-02-17 12:00:00 GMT * issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=DigiCert SHA2 High Assurance Server CA * SSL certificate verify result: unable to get local issuer certificate (20), continuing anyway. * Server auth using Basic with user '**removed**' > POST /api/workspaces/120300/tasks HTTP/1.1 Authorization: Basic **removed** Host: app.liquidplanner.com Accept: */* Accept-Encoding: gzip User-Agent: KsCogs Curl Handler 1.0 content-type: application/json Content-Length: 120 * upload completely sent off: 120 out of 120 bytes < HTTP/1.1 500 Internal Server Error < Content-Encoding: gzip < Cache-Control: no-cache < Cache-Control: max-age=900 < Content-Type: application/json; charset=utf-8 < Date: Mon, 30 Jun 2014 12:56:20 GMT < Expires: Mon, 30 Jun 2014 13:11:20 GMT * Server Apache is not blacklisted < Server: Apache < Status: 500 Internal Server Error < Strict-Transport-Security: max-age=31536000 < Vary: Accept-Encoding < X-Frame-Options: SAMEORIGIN < X-Rack-Cache: invalidate, pass < X-Request-Id: 3684a601bdbd063a94fed827228082c2 < X-UA-Compatible: IE=Edge,chrome=1 < Content-Length: 118 < * Connection #0 to host app.liquidplanner.com left intact ``` And the response is ``` stdClass Object ( [type] => Error [error] => InternalServerError [message] => Internal error; try again and perhaps it will work (no promises). ) ``` anyone spot anything obvious?
ANSWERED