Unable to update agreement form fields in v6
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.
