Getting 403 Forbidden from server side
Summary:
I am trying to generate Distributions for invoices using REST API, but I am getting 403 Forbidden from the server. Is there anything I am missing from my end
Content (required):
Request:
POST https://xyz.oraclepdemos.com/fscmRestApi/resources/latest/invoices/action/generateDistributions HTTP/1.1
Authorization: Basic XXXXX
Accept-Encoding: gzip, deflate
User-Agent: CData Data Provider Engine
Content-Type: application/vnd.oracle.adf.action+json
Content-Length: 42
REST-Framework-Version: 9
{
"InvoiceNumber": "ABC-10172XXXXXX"
}
Response:
HTTP/1.1 403 Forbidden
Content-Length: 0
X-Content-Type-Options: nosniff
Cache-Control: no-cache, no-store, must-revalidate
Location:
X-ORACLE-DMS-ECID: 005ynmLE5J^5Uc1LJuh8if0000J40002IP
X-ORACLE-DMS-RID: 0:3
REST-Framework-Version: 9
X-XSS-Protection: 1; mode=block
Content-Language: en
Strict-Transport-Security: max-age=31536000; includeSubDomains
Date: Tue, 09 May 2023 06:08:23 GMT