REST connector does not replace path parameters

I am trying to make a POST request with the REST connector. The connector does not replace the parameter placeholder with the value passed to it. For example, I want to send a request to "/apis/3.0/finance/invoices/5/payments" but the connector uses "/apis/3.0/finance/invoices/{id}/payments" instead. Attached are the API definition and sample map I am using.


Are there changes I need to make to either in order for that to work?

(1) Answer