Invalid URL - Task API is not working - 14001

Invalid URL - Task API is not working - 14001

API response - throws invalid URL error

apprUrl = url + "/api/v3/changes/changeid/tasks"


Reason - 14001 
ยท       Support for older version of V3 API for Tasks and Worklogs is deprecated. To use the latest format of the API, add the accept header "application/vnd.manageengine.sdp.v3+json" to the API URL. To know more about the difference between the V3 API old format and the new format, see Tasks and Worklogs.

Solution :

Users need to add the below headers in their code to make it work.

Key = Accept
Value = application/vnd.manageengine.sdp.v3+json


                  New to ADSelfService Plus?