You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting 403 Forbidden from server side

edited May 16, 2023 12:31PM in Payables, Payments & Cash Management 1 comment

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!