2 followers Follow

Creation of discussion post no longer working with API call

I have been using a fairly simple API call to create a discussion in a project and return JSON containing the email address to be used to respond to the initial discussion post. This call is now returning an error.
The JSON for the call is as follows using PUT
The container comes from a previous PUSH
{"typeName": "WorkItem","fields": ["SYSID"],"where": {"and": [{"leftExpression":{"fieldName": "SYSID"},"operator": "Equal","rightExpression": {"value": "P-61002"}}]}}
which returns the JSON
The error coming back on the PUT is
<TITLE>Bad Request</TITLE>
in the DownloadData and
HTTP/1.1 411 Length Required
Server: AkamaiGHost
Mime-Version: 1.0
In the DownloadHeader
Could someone please advise me as to what may have changed in the API and/or what fix needs to be made to the PUT query.

Daniel Kelly Answered

Official comment


Hi Dan,

Can you please share with me the URL you are using to call the API?



Elad Franklin
Comment actions Permalink

Please sign in to leave a comment.

1 comment