amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
609 stars 732 forks source link

[BUG] [SP-API] [Issue] Incorrect type of `payloadVersion` in `notifications.createSubscription` response #2862

Closed achie27 closed 1 year ago

achie27 commented 2 years ago

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

SP-API Name and Version or Report/Feed Type

Notifications > createSubscription

Expected Behavior

payloadVersion in the response should be a string and not a float

Current Behavior

This happens when subscribing sellers to LISTINGS_ITEM_ISSUES_CHANGE (which uses the EventBridge workflow). Here's one response I received on prod -

{
  "payload": {
    "destinationId": "798267b8-2540-4f27-a439-d649d3345fe3",
    "payloadVersion": 1.0,
    "subscriptionId": "3de8dec4-6ec5-43f1-bc65-7ed2f8baca89"
  }
}

And here's the headers to investigate -

X-Amz-Apigw-Id: aP21pHIroAMFyig=
X-Amzn-Requestid: f89fbdde-6a49-475b-b60e-d2ff9916ffc3
X-Amzn-Trace-Id: Root=1-634fd1bd-10adf26330f3771559a99e65

Context/Screenshots

github-actions[bot] commented 1 year ago

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

github-actions[bot] commented 1 year ago

closed for inactivity