Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/asp.net-core/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net DocuSign信封将URL重定向到另一个DocuSign会话不起作用_.net_Asp.net Core_Docusignapi_Asp.net Core Webapi - Fatal编程技术网

.net DocuSign信封将URL重定向到另一个DocuSign会话不起作用

.net DocuSign信封将URL重定向到另一个DocuSign会话不起作用,.net,asp.net-core,docusignapi,asp.net-core-webapi,.net,Asp.net Core,Docusignapi,Asp.net Core Webapi,我们在API中创建了两个信封,并将第一个信封的URI添加到了第二个信封的redict URI的位置,直到9月23日,它都可以正常工作,但是从一个信封到另一个信封的重定向停止了 下面是代码的解释: RecipientViewRequest financeManagerViewOptions = new RecipientViewRequest { ReturnUrl = returnViewURL, Clie

我们在API中创建了两个信封,并将第一个信封的URI添加到了第二个信封的redict URI的位置,直到9月23日,它都可以正常工作,但是从一个信封到另一个信封的重定向停止了

下面是代码的解释:

 RecipientViewRequest financeManagerViewOptions = new RecipientViewRequest
            {
                ReturnUrl = returnViewURL,
                ClientUserId = "Finance12345",
                AuthenticationMethod = "none",
                UserName = FinanceManagerName,
                Email = FinanceManagerEmail
            };

            //this is the second envelope, and we used this envelope's URL as the returnURL of the second envelope
            financeManagerviewUrl = docusignAPI.CreateRecipientView(AccountId, result.EnvelopeId, financeManagerViewOptions);

            //here we are creating the second envelope and assigning the first envelope's URL to its returnURL
            RecipientViewRequest viewOptions = new RecipientViewRequest
            {
                ReturnUrl = financeManagerviewUrl.Url,
                ClientUserId = inspection.CustomerId.ToString(),
                AuthenticationMethod = "none",
                UserName = inspection.CustomerName,
                Email = inspection.CustomerEmail,
            };

            // url of second evelope that is supposed to be signed first
            viewUrl = docusignAPI.CreateRecipientView(AccountId, result.EnvelopeId, viewOptions);
这里奇怪的是,如果我们直接在浏览器中打开第一个信封的URL,它可以正常工作,并且它也会将我们重定向到正确的URL,因此第一个信封的返回URL也可以正常工作

但是,当我们将第二个信封重定向到第一个信封的URL时,它向我们显示了一个错误,这对我们来说很奇怪:


同样,这在几天前运行良好,直接在浏览器中打开第一个信封的URL让我们进行签名,但相同的URL返回URL不会打开新的签名会话,对此的任何帮助都将不胜感激。

托管令牌是我们将URL发送到信封的一种新方法。 它使url的路径变长,这可能是您的问题的根本原因。 我们将在本月为各种帐户启用此功能,这可能就是您最近遇到的情况。
如果url太长,您必须找到一种不同的集成方法。

感谢您及时响应此问题,我们为此编写了一个新的实现。你能给我介绍一些门户网站吗?在那里我们可以随时更新文档签名更改?因为这是我们应用程序的一个关键业务部分,它的故障会中断应用程序中一个非常重要的流程。如果您愿意,这是一次性的。不是经常发生的事情。门户是developers.docusign.com和support.docusign.com(不同的焦点)。如果我能进一步帮助你,请告诉我。谢谢分享。我感谢所有的帮助。