generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Environment
JS
Describe the bug
Using getItemOffers method from Pricing_v0SpApi causes the following error
Uncaught TypeError: ConditionType.constructFromObject is not a function
at GetOffersResult.constructFromObject (file:///Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/src/pricing_v0/model/GetOffersResult.js:71:85)
at GetOffersResponse.constructFromObject (file:///Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/src/pricing_v0/model/GetOffersResponse.js:54:75)
at ApiClient.convertToType (file:///Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/src/pricing_v0/ApiClient.js:771:23)
at ApiClient.deserialize (file:///Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/src/pricing_v0/ApiClient.js:595:22)
at file:///Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/src/pricing_v0/ApiClient.js:718:31
at Request.callback (/Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/node_modules/superagent/lib/node/index.js:837:12)
at /Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/node_modules/superagent/lib/node/index.js:1078:18
at IncomingMessage.<anonymous> (/Users/alexey.chashin/Projects/tool.amalytix.com/node_modules/@amazon-sp-api-release/amazon-sp-api-sdk-js/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:508:28)
at Stream.emit (node:domain:552:15)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels