Docusign没有访问Webhook URL [英] Docusign not hitting webhook URL

查看:53
本文介绍了Docusign没有访问Webhook URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用



有时我会得到一个空列表。在发布选项中,当它起作用时,我会得到一份文档/信封列表,然后看到我发送到那里的最后一个信封,看起来不错。

解决方案

您可以在 Docusign Admin Web应用程序中查看您最近的连接日志/故障。 。请参见此处 使用管理网站的说明



如果未将连接消息发送到您提供的侦听器URL,则它们应显示在失败部分。



API :您还可以使用 connectEvents api的



这里有一些文档,用于对连接问题进行故障排除。



状态代码不是问题。它们不区分大小写。


I'm trying to use webhooks, but no events are being sent to my application via the webhook url. So far I was able to configure and send correctly envelopes with enough information to monitor status, but when things changes in the envelopes, nothing happens, I mean, no requests are made to my webhook URL, at all.

My app is doing good, so if I manually hit (GET) https://subdomain.app.com/docusign/webhook, it works fine and it shows both on my app log and Nginx log. But viewing, signing and completing documents/envelopes are not generating events to the webhook url.

I noticed that, in the examples, the events are capitalized for recientEvents, but not for envelopeEvents, is this right?

Is there anything else to be configured?

Is is possible to see this information in the Docusign web interface (https://account-d.docusign.com/logout#/username)? I would like to check if this data is correctly set in the envelope.

Here's the envelope request (minus some data):

{
    "documents": [{
        "documentId": 1,
        "name": "XXXXXXXXX.pdf",
        "documentBase64": "XXXXXXX"
    }],
    "recipients": {
        "signers": [{
            "tabs": {
                "signHereTabs": [{
                    "documentId": 1,
                    "recipientId": 1,
                    "pageNumber": 1,
                    "anchorString": "recipient_signature"
                }]
            },
            "name": "XXXXXX",
            "email": "XXXX@XXXX.co",
            "recipientId": 1,
            "clientUserId": XXXX
        }]
    },
    "eventNotification": {
        "url": "https:\/\/subdomain.app.com\/docusign\/webhook",
        "loggingEnabled": "true",
        "envelopeEvents": [{
            "envelopeEventStatusCode": "sent"
        }, {
            "envelopeEventStatusCode": "delivered"
        }, {
            "envelopeEventStatusCode": "completed"
        }, {
            "envelopeEventStatusCode": "declined"
        }, {
            "envelopeEventStatusCode": "voided"
        }, {
            "envelopeEventStatusCode": "sent"
        }, {
            "envelopeEventStatusCode": "sent"
        }],
        "recipientEvents": [{
            "recipientEventStatusCode": "Sent"
        }, {
            "recipientEventStatusCode": "Delivered"
        }, {
            "recipientEventStatusCode": "Completed"
        }, {
            "recipientEventStatusCode": "Declined"
        }, {
            "recipientEventStatusCode": "AuthenticationFailed"
        }, {
            "recipientEventStatusCode": "AutoResponded"
        }]
    },
    "status": "sent",
    "emailSubject": "XXXXXX",
    "brandId": "XXXXXXXXXX"
}

EDIT:

Entering Connect -> Log/Failures looks like the system is not really performing as it should, because sometimes I get

And some other times I get an empty list. Going in the publish option, when it's working I get a list of documents/envelopes, and I see the last envelope I sent there, which looks fine.

解决方案

You can view your recent connect logs/failures at the Docusign Admin web application. See instructions to use the Admin site here

If your connect messages were not sent, to the listener URL you provided, they should show up in the failures section.

API : You can also view your connect logs/failure using the connectEvents api's

Here is some documentation for troubleshooting connect issues.

The capitalization of status codes is not an issue. They are case insensitive.

这篇关于Docusign没有访问Webhook URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆