Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Help with Integrating Adobe Forms (OSGi) and Adobe Sign

rwinterpacht-SC
Level 2
Level 2

We have the following:

Adobe Sign account (with admin access, with an app added for OAUTH)

AEM 6.3, sp1 and cfp1 and corresponding Forms Add-on package. Running in author with SSL.

Cloud configuration added for Adobe Sign, which successfully enabled. (This also took a while and having to update the config in crxde, but that could be a whole other post.)

Adaptive form created from xsd file (xml) schema, and sign block component with signature step component

Adobe Sign is also enabled on this form

Upon submission of the form, we're always seeing the following error message:

[AF]  [AEM-AF-901-004]: Encountered an internal error while submitting the form

error.log:

Caused by: com.adobe.sign.utils.ApiException: Request must be made to correct API access point (e.g. use GET /base_uris).

        at com.adobe.sign.utils.ApiClient.invokeAPI(ApiClient.java:574)

        at com.adobe.sign.api.TransientDocumentsApi.createTransientDocument(TransientDocumentsApi.java:94)

        at com.adobe.aem.adobesign.service.impl.AdobeSignServiceImpl.uploadTransientDocument(AdobeSignServiceImpl.java:484)

        ... 128 common frames omitted

07.03.2018 12:50:48.235 *ERROR* [0:0:0:0:0:0:0:1 [1520448646968] POST <path to my form>/sampleXSD/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet Could not complete Submit Action due to There is an error in agreement creation.

com.adobe.aemds.guide.service.GuideException: There is an error in agreement creation.

        at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPostPrerequisites(GuideSubmitServlet.java:251)

        at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doSubmit(GuideSubmitServlet.java:313)

        at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPost(GuideSubmitServlet.java:561)

        at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:149)

        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:346)

        at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:378)

So question is, how can we troubleshoot this? The cloud configuration was created successfully, so the access endpoint should be fine. How do we determine what the "error in agreement creation" is? There's no log in Adobe Sign that indicates any request coming through.

1 Accepted Solution
James_R_Green
Correct answer by
Level 7
Level 7

Hi rwinterpacht

This might not help as I can't see the error you are seeing in the code, but just incase:

https://github.com/adobe-sign/AdobeSignJavaSdk

View solution in original post

0 Replies
James_R_Green
Correct answer by
Level 7
Level 7

Hi rwinterpacht

This might not help as I can't see the error you are seeing in the code, but just incase:

https://github.com/adobe-sign/AdobeSignJavaSdk

View solution in original post