Calculate tax API returns 403 error on Integration but works on Postman
Summary: Hey folks!
I have been having a situation with the Calculate tax and derive account API (https://docs.oracle.com/en/cloud/saas/procurement/23b/fapra/op-purchaserequisitions-purchaserequisitionsuniqid-action-calculatetaxandaccounting-post.html). Any call from Postman works perfectly fine and the Purchase Requisition is submitted. However, when using the REST adapter in an integration, with a connection that uses the exact same user, and the exact same headers in place, I get a 403 - Forbidden error in return. Is it possible that this is some sort of configuration on the Integration instance?
The API only appears to be when being sent an empty object on the request's body. Thus, I have tried doing so using a binary content type, JSON with 'enforce empty object' configured, as the documentation suggests, and the result is always the same. I did not forget to change the content-type header to "application/vnd.oracle.adf.action+json''. Also, I tried doing so on the invoke action configuration itself as well as on the Mapper, when configuring a default HTTP header.