Amazon-SP-API-CSharp icon indicating copy to clipboard operation
Amazon-SP-API-CSharp copied to clipboard

GetDefinitionsProductType returning error due to incorrect serialization of Enum

Open Chu2P opened this issue 2 years ago • 0 comments

When calling the GetDefinitionsProductType endpoint with the LISTINGPRODUCTONLY requirement, we get

AmazonInvalidInputException: 'Request has missing or invalid parameters and cannot be parsed.'

This is due to the Conversion of parameters in ParameterBased.cs (ln 55) not converting the enum to its EnumMember value, therefore losing the required underscore characters

Chu2P avatar Oct 19 '23 16:10 Chu2P