Skip to main content
Known Participant
June 28, 2023
Answered

Getting 403 Forbidden Error on Code that Previously Worked

  • June 28, 2023
  • 4 replies
  • 1926 views

Good Afternoon, I have been beating myself up over this for the past couple of hours. I currently am trying to access Document Generation API. I have used this same API for months and all of the sudden my code is giving me a 403 Forbidden Error. I did not make any changes to the Server or the code itsself. The only thing that I can assume has changed is the API.  I am not currently using an SDK. I use PHP Curl to make the API calls. As seen in my other posts. Why is it not working anymore. Please reach out to me at your earliest convience.  Below is the error code with Transaction ID. 

 

Thank you,

 

"cpf:status":{"completed":true,"type":"","title":"Access forbidden; transactionId=5gEWkl2Pwasyl4jFsXaaVTVCttTVTgAb","status":403,"report":"{\"error_code\":\"FORBIDDEN\"}"}}

This topic has been closed for replies.
Correct answer Raymond Camden

It looks like our forums included a comma in the hotlink- just remove the comma.

4 replies

Raymond Camden
Community Manager
Community Manager
June 29, 2023

You say you are using the REST API - but it looks like you are using the deprecated one and not https://developer.adobe.com/document-services/docs/apis/, is that possible?

Known Participant
June 29, 2023

Definitely possible the link you shared is giving me a 404 error though. I will test to see if the API links I am using are incorrect. Also I want to note that not every request I make gives me a 403 error. If I purposely make a mistake on JSON or change path to wrong document for generation it gives me a different error. It seems as though whenever there are no mistakes it does in fact give me that 403 error when it is supposed to supply me with the document. That information may not be helpful but just wanted to provide some insight on my debugging efforts thus far. 

If you ain't First, you're Last - Ricky Bobby
Raymond Camden
Community Manager
Raymond CamdenCommunity ManagerCorrect answer
Community Manager
June 29, 2023

It looks like our forums included a comma in the hotlink- just remove the comma.

Known Participant
June 29, 2023

Can someone at adobe search my transaction ID and just point me in the right direction? This is a huge part of my site and with it being dysfunctional,  it makes me appear unprofessional as well as inept. 

If you ain't First, you're Last - Ricky Bobby
Known Participant
June 28, 2023

Last time I ran this code without issue was June 16th. I did not make any changes to the code and I have had it running for over a year without any problems until now. 

 

If you ain't First, you're Last - Ricky Bobby
Known Participant
June 28, 2023

An important thing to note is that I am seeing this error after the GET POLL request to https://cpf-ue1.adobe.io/ops/id/[x-request-id]

 

If you ain't First, you're Last - Ricky Bobby