Add encryption and/or restrict permissions on a PDF File

New Here ,
Jul 26, 2021 Jul 26, 2021

Copy link to clipboard

Copied

We have tried using the following API from the  documentation  link (https://documentcloud.adobe.com/document-services/index.html#post-protectPDF)

 

Protect :

Add encryption and/or restrict permissions on a PDF File

Details :

 

Endpoint : https://cpf-ue1.adobe.io/ops/{{create}}?respondWith=%7B%22reltype%22%3A%20%22http%3A%2F%2Fns.adobe.c...

Error : {"error": {"code": "Not Found", "message": "Oops. Something went wrong. Check your URI and try again.", "details": { "error_code": "404404" } } }

 

We declared the global variable create with value :create in Postman.

We were able to retrieve access token, but once used with the above endpoint we were getting the mentioned error. Please do let us know what is the issue with the given endpoint.

Let us know if you need any more information regarding the API call we tried.

TOPICS
Document Generation API , General , How to , PDF Services API

Views

124

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 28, 2021 Jul 28, 2021

Copy link to clipboard

Copied

Hello,

Please take a look at this forum thread and let us know if the solution proposed solves your issue.

https://community.adobe.com/t5/document-services-apis/problem-connecting-to-pdf-extract-api-using-po...

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 28, 2021 Jul 28, 2021

Copy link to clipboard

Copied

Thanks Kenneth.

We had looked at this post and we have tried the option suggested but it did not work for us. Pls can you advise if there any more resorces to look into. 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 28, 2021 Jul 28, 2021

Copy link to clipboard

Copied

LATEST

I have spoken with the internal team and here is our recommendation for the best overall experience: 

We built the SDKs as a wrapper around the REST APIs, they work very well and are simple to use.  That said, if you must use a programming language that is not amonst the supported SDKs, then it would be best if you used command line from your chosen langage and make your calls to the APIs using the SDKs.  Even better, use one of the supported programming languages (Java, Node.js, or .NET). This should eliminate the complexity issues you are facing while attempting to access the REST APIs directly and will also future proof your application if we make changes to the REST APIs.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources