Hi all,
I’m trying to call an external REST API from IFS (IFS Cloud 25R1) using Plsql_Rest_Sender_API.Call_Rest_EndPoint_Json. The same endpoint works fine with GET (using the same parameters), but the PATCH call consistently fails with the following error:
ExecutionException from Sender thread Caused by: ifs.fnd.connect.senders.ConnectSender$TemporaryFailureException: Exception while sending data Caused by: ifs.fnd.base.SystemException: Patch error: 405 (Method Not Allowed)
The exact same PATCH request works from Postman (same URL, headers, and payload), so the receiver endpoint does support PATCH.
url_params_ := Plsqlap_Document_API.New_Document('URL_PARAMETERS');
Plsqlap_Document_API.Add_Attribute(url_params_, 'reference', part_no_);
Plsql_Rest_Sender_API.Call_Rest_EndPoint_Json(
rest_service_ => 'XXX_UPDATE_SHEET_PART',
json_ => json_,
url_params_ => url_params_,
http_method_ => 'PATCH',
http_req_headers_ => http_req_headers_,
sender_ => msg_id_,
receiver_ => 'EXTERNAL',
message_type_ => 'APPLICATION_MESSAGE',
accepted_res_codes_ => '200,201');
I’ve already restarted the IFS Connect pods, but the issue still occurs. I also tried hard-coding the reference parameter directly in the routing address (instead of passing url_params_), but that resulted in the same error.
Below are my routing rule and routing address configurations:
Routing rule:

Routing address:

If anyone has run into something similar or has suggestions on what else I could check, I’d really appreciate the help.
Thanks in advance!