首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何设置Amazon网关以接收Adyen webhooks

如何设置Amazon网关以接收Adyen webhooks
EN

Stack Overflow用户
提问于 2022-11-22 14:26:50
回答 1查看 21关注 0票数 0

我正在尝试将AWS中的API网关配置为从Adyen平台接收webhooks。

我使用API网关与S3桶集成,并使用以下链接创建了API

https://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html

身份验证在我的配置中是“无”的,但是我观察到了与授权相关的错误。因为我刚接触过API,所以我无法理解这一点。

webhook是HTTP方法

代码语言:javascript
复制
{
  "live": "false",
  "notificationItems": [
    {
      "NotificationRequestItem": {
        "amount": {
          "currency": "EUR",
          "value": 0
        },
        "eventCode": "REPORT_AVAILABLE",
        "eventDate": "2022-11-22T15:19:37+01:00",
        "merchantAccountCode": "COM",
        "merchantReference": "testMerchantRef1",
        "pspReference": "1OW4XY4YXEFDLM0F",
        "reason": "will contain the URL to the report",
        "success": "true"
      }
    }
  ]
}

我收到的回复是

代码语言:javascript
复制
{"message":"Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=Basic amFnYTYxOTBAZ21haWwuY29tOndJTERGSVJFQDEyMw=="}

Amazon网关配置

在这里输入图像描述

EN

回答 1

Stack Overflow用户

发布于 2022-11-22 14:30:37

根据正式文件,您收到的特定错误表明您试图调用不存在的资源。特别是,根本原因是

带有“授权”头的请求被发送到不存在的API资源路径。

您确定已经正确地发布了API吗?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74534228

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档