我们在API中创建了两个信封,并在第二个信封的redict URI的位置添加了第一个信封的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太长,则必须找到一种不同的集成方法。