Copy link to clipboard
Copied
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.
That should work. Check out my sample here, does it help?
https://github.com/cfjedimaster/document-services-demos/blob/main/rest/test1.js
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Just to be sure, are you using the new REST APIs that launched Monday? (Official announcement coming soon.)
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
See here: https://developer.adobe.com/document-services/docs/apis/
I'll have a blog post on this soon. You can see demo code here: https://github.com/cfjedimaster/document-services-demos/tree/main/rest
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
We released new SDKs on Monday that make use of this API. Functionality wise though you wouldn't notice a difference.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
That should work. Check out my sample here, does it help?
https://github.com/cfjedimaster/document-services-demos/blob/main/rest/test1.js
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Any chance you could share your code? My code is definitely working for me.
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Hello Geoof,
I am getting the same error. How did you resolve it? Any help or suggestion is appriciated.
Request and Response
Find more inspiration, events, and resources on the new Adobe Community
Explore Now