Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Are developer accounts throttled?

Community Beginner ,
Sep 27, 2022 Sep 27, 2022

Hi,

Can you advise if developer accounts are throttled to allow only 2 PDF documents to be processed when using the export facility? I am finding that if I have 10 pdf files that I wish to export to an office format, only 2 will be undertaken and the third one will hang and timeout.

 

If this is the case and only with a full account would I be able to process all 10 documents as a batch, that is fine, I am just unable to see any documentation that explains this.

 

thanks

G.

 

2.7K
Translate
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

correct answers 1 Correct answer

Adobe Employee , Oct 02, 2022 Oct 02, 2022

That should work. Check out my sample here, does it help?

 

https://github.com/cfjedimaster/document-services-demos/blob/main/rest/test1.js

 

Translate
Adobe Employee ,
Sep 27, 2022 Sep 27, 2022

They are not, and according to our Usage Limits docs (https://developer.adobe.com/document-services/docs/overview/pdf-services-api/dcserviceslicensing/#us...), you can do 25 calls per minute. All I can suggest is looking at your code and ensuring nothing there is blocking requests. 

Translate
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
Community Beginner ,
Sep 27, 2022 Sep 27, 2022

Hi Raymond,

thanks for this. It is interesting that whatever is going on, happens both with my code and also the SDK. The only reason I embarked on writing something without the SDK was because of this problem. Hence, I wondered if the endpoint was throttled.

thanks

G.

 

Translate
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 ,
Sep 27, 2022 Sep 27, 2022

Not quite sure what you mean "with my code and also the SDK" - you mean your code *using* the SDK, right? When you say w/o the SDK, how were you performing your actions - the REST API?

Translate
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
Community Beginner ,
Sep 27, 2022 Sep 27, 2022

Hi,

I started out using your SDK. I experienced this issue with the SDK which then made me wonder if just calling the API directly would resolve the problem. I think then if what you are saying that no throttling is occurring the issue lies in the async/await area. I will try and see if I can resolve the problem, I am just surprised I have exactly the same issue when I use your SDK and also my code calling the API directly.

thanks for the counsel, appreciated.

G.

 

Translate
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 ,
Sep 27, 2022 Sep 27, 2022

Just to be sure, are you using the new REST APIs that launched Monday? (Official announcement coming soon.)

Translate
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
Community Beginner ,
Sep 27, 2022 Sep 27, 2022

Hi,

No, haven't seen any details on new APIs. Just the existing ones that are documented. Is there anything you can tell me?

regards

G.

 

Translate
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 ,
Sep 27, 2022 Sep 27, 2022
Translate
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
Community Beginner ,
Sep 27, 2022 Sep 27, 2022

Hi Raymond,

This is quite a revision, a much simpler API. I presume there will be a new SDK for .NET coming along at some point. Are the existing API's being retired at some point?

thanks

G.

 

Translate
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 ,
Sep 27, 2022 Sep 27, 2022

We released new SDKs on Monday that make use of this API. Functionality wise though you wouldn't notice a difference. 

Translate
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
Community Beginner ,
Oct 02, 2022 Oct 02, 2022

Hi Raymond, I am in the process of re-writing my work to use the new APIs. I wanted to test and I have generated a new AccessToken using the methods that worked under the old APIs. I am being returned an error_code 401013 OAuth token is not valid. Do I need to setup a new project in Adobe Console to use the new APIs or should the old project work? thanks. G.

Translate
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
Community Beginner ,
Oct 02, 2022 Oct 02, 2022

Hi Raymond, the above one was me. I am having trouble though with mediaType. Can't find what would be valid here. I have seen application/pdf suggested but that has resulted in a 415 error for me. Is there a reference what is valid anywhere you can point me to?

thanks G.

Translate
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 ,
Oct 02, 2022 Oct 02, 2022

That should work. Check out my sample here, does it help?

 

https://github.com/cfjedimaster/document-services-demos/blob/main/rest/test1.js

 

Translate
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
Community Beginner ,
Oct 02, 2022 Oct 02, 2022

Hi Raymond,

Thanks for the above.

I have the mediaType set to "mediaType" : "application/pdf"

This is the response.

Internal : Unexpected error Error during Web API HTTP Request
HTTP Status Code: 415
HTTP Response Content: {"reason":"HTTP 415 Unsupported Media Type Request id: giKNKxyZia????6OaZ0kRSUyUKIbdoDe.","message":"Application error"}

(I added the ? marts).

thanks

G.

Translate
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 ,
Oct 03, 2022 Oct 03, 2022

Any chance you could share your code? My code is definitely working for me.

Translate
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
Community Beginner ,
Oct 03, 2022 Oct 03, 2022

HI Raymond,

I got it sorted, finger trouble my side :). Or as we say in the computer world, a PEBCAK issue. (Problem Exists Between Chair and Keyboard. Thanks for your help on this, I am hoping my integration between Blue Prism and your new API will be ready this week. regards. G.

Translate
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 ,
Sep 12, 2023 Sep 12, 2023
LATEST

Hello Geoof,

I am getting the same error. How did you resolve it? Any help or suggestion is appriciated.

Request and Response

Dipak31221008m7ow_1-1694543498318.jpeg

Dipak31221008m7ow_4-1694543577085.png

 

 

 

Translate
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