Copy link to clipboard
Copied
Goal: Send agreement with form fields
Problem: In v6 it appears I need to update the form fields after creating the agreement in AUTHORING state. However, the request to PUT agreements/{agreementId}/formfields fails with a generic error CANNOT_PROCESS_REQUEST.
I've tried the exact example from this post and get the same error. However, that post doesn't seem to match the documentation, so I've tried populating the assignee id from /agreements/{agreementId}/members.
I'm able to update the form fields successfully when the agreement is in DRAFT state (rather than AUTHORING), but pulling the members data fails with the code AGREEMENT_IN_DRAFT_STATE, so the sent agreement doesn't have the fields displayed correctly.
Any insight would be really appreciated, as for now I'm stumped.
Figured out the issue -- for some reason the request fails when the first participant's email is the same as the sender's email.
Adding a suffix to the email (ie. name@example.com -> name+adobesign@example.com) fixed the issue.
Copy link to clipboard
Copied
Figured out the issue -- for some reason the request fails when the first participant's email is the same as the sender's email.
Adding a suffix to the email (ie. name@example.com -> name+adobesign@example.com) fixed the issue.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now