Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Webhooks Configuration failed

Explorer ,
Sep 13, 2021 Sep 13, 2021

Request URL

https://api.sg1.adobesign.com:443/api/rest/v6/webhooks
Response Body
{
  "code": "INVALID_WEBHOOK_URL",
  "message": "Validation for webhook url failed. Please make sure that the webhook url responds with a valid HTTP response code and a valid client id."
}

 

Data:

{    "applicationName": "Test application", 
    "name": "Somename - 5c0bc93d-b955-4451-bbc1-3b7e92c1cd6c", 
    "state": "ACTIVE", 
    "scope": "ACCOUNT", 
    "webhookSubscriptionEvents": [
        "AGREEMENT_ACTION_COMPLETED"
    ], 
    "webhookUrlInfo": {
        "url": "https://www.sqlviewhz.com/KRISADMIN/adobesignCallback"
    }
}

 

Kai5E1F_1-1631601514486.pngexpand image

 

URL can be accessed, webhook configuration failed

 
TOPICS
Configure accounts
1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Sep 15, 2021 Sep 15, 2021

I suspect the webhook may have been created via the webportal, rather than via the API.

In that cas the clientID to use is the clientID of the Sign webportal which is

 UB7E5BXCXY

 

(it should also be in the header of the GET request itself)

Translate
Adobe Employee ,
Sep 14, 2021 Sep 14, 2021

how does the url respond to the initial GET request Sign pings the url? and how will it respond to POST requests  following that? See https://www.adobe.io/apis/documentcloud/sign/docs.html#!adobedocs/adobe-sign/master/webhooks.md

The webhook willl send a GET request to the url in order to verify it. It expect a 200 response and the clientID as a response.

 

If done correctly the same response is expected for the POST notifications.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 14, 2021 Sep 14, 2021

Hi SimonESATS,

 

Thank you for your reply.

Our URL supports GET and POST request access

The URL I provided is Java Restful. Is there any requirement or attention to the Java project?And I can get that Adobesign requested to visit my URL and returned.

 

Thanks.

Best Regards.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 14, 2021 Sep 14, 2021

1.POST

chenspencer_0-1631673812049.pngexpand image

2.GET

chenspencer_1-1631673853133.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 15, 2021 Sep 15, 2021

I suspect the webhook may have been created via the webportal, rather than via the API.

In that cas the clientID to use is the clientID of the Sign webportal which is

 UB7E5BXCXY

 

(it should also be in the header of the GET request itself)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 15, 2021 Sep 15, 2021
LATEST

Yes,except for Java REST API, I tried other URLs with success. But there is one point I noticed: response.setHeader("X-Powered-By","Express"); 'X-Powered-By' must be 'Express'. 

chenspencer_0-1631764195317.pngexpand image

I set it to ‘Undertow/1’, the setting will also fail.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines