I am implementing functionality to present a document to the end user to sign inside my web application. The documented steps to accomplish this are:
- Create transientDocument POST - {url}/transientDocuments
- Create a widget using transientDocumentId. POST - {url}/widgets
- Get embeddedCode in the widget views call response. POST - {url}/widgets/{widgetId}/views
The post body indicates what view to return { "name": "ALL"(ALL, SIGNING, etc..) }
When I execute my code with 'ALL', the views call does not return the SIGNING view and when I specifically request the SIGNING view, i get the "VIEW_NOT_AVAILABLE: Requested view is not available for the resource in the current state." response.
I can successfully run the request in the Adobe test environment and can even get my code to succeed immediately after a successful request in the test harness, but stand alone and, more importantly, when I deploy my code, I get the Error noted above.
I have searched for the past two days and cannot find anything on this specific error. This link is the closest I can find to anything dealing woith this issue: Adobe sign API - create a widget with pre-filling details
I have verified my Scopes are correct in my OAuth token and that my OAuth settings on my test account match what is expected in my Authorization Token.
I am at a total loss. Any ideas would be appreciated.