eShop icon indicating copy to clipboard operation
eShop copied to clipboard

[WebToolsE2E][Aspire] Registering a new webhook in eshop dashboard failed: "Error 400 (Bad Request) when calling the Webhooks API (POST http://webhooks-api/api/v1/webhooks) with GrantUrl."

Open v-sherryfan opened this issue 9 months ago • 1 comments

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.9 P1 from build [34303.117.d17.9]
  3. Install latest 8.0 SDK: 8.0.100
  4. Apply NuGet Feeds
  5. Install Docker Desktop

REPRO STEPS

  1. In the VS, clone the eShop repository and open eShop.Web.slnf
  2. F5 / Ctrl-F5
  3. Click Endpoint for 'webhooksclient'
  4. Navigate to webhook registration page and click 'send'

ACTUAL

Error 400 (Bad Request) when calling the Webhooks API (POST http://webhooks-api/api/v1/webhooks) with GrantUrl: http://localhost:5228/check)

Data sent to the webhooks API was {"Url":"http://localhost:5228/webhook-received","Token":"6168DB8D-DC58-4094-AF24-483278923590","Event":"OrderPaid","GrantUrl":"http://localhost:5228/check"} image

EXPECTED

Registering a new webhook in eshop dashboard successfully.

v-sherryfan avatar Nov 06 '23 08:11 v-sherryfan

eshop bug

danmoseley avatar Nov 06 '23 23:11 danmoseley