Assigning a request to a change (Deluge)

Assigning a request to a change (Deluge)

Hi, Team,
I'm trying to assign a request to a change using deluge.
I've checked the URL and the input_data values but it still returns an error while running it on deluge. However, using the same data on API documentation works without any errors.
The error it returns on deluge is:
{"response_status":{"status_code":4000,"messages":[{"status_code":4001,"field":"change","type":"failed","message":"Extra key found in JSON"}],"status":"failed"}}

The input data doesn't have any change field (it's only present on the URL) and the data present in JSON is only the request ID:
{"request_caused_by_change":{"request":{"id":"1710"}}}

The invoke method is:
response3 = invokeurl
[
url: url3
type: POST
parameters: params
headers: headers
];
where:
headers = {"authtoken": technKey}; //technKey is from a SDAdmin technician
params = {"input_data": input_data};

the URL is the same that is shown in the API documentation:
(where 2 is the change ID)

I'm running SDP Enterprise edition v.14.820, running on MS SQL.

Is there an issue with this function?

Thanks.

                  New to ADSelfService Plus?