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

System.ArgumentException: Requested value 'JE_VOEC' was not found.

Open owenashurst opened this issue 2 years ago • 3 comments

I've noticed over the past couple weeks I keep getting the same error when retrieving Order Items for Amazon Orders.

011423f9-3d6c-4b6e-9338-456f8c4ca465	fail	Newtonsoft.Json.JsonSerializationException: Error converting value "JE_VOEC" to type 'System.Nullable`1[FikaAmazonAPI.AmazonSpApiSDK.Models.Orders.OrderItem+DeemedResellerCategoryEnum]'. Path 'payload.OrderItems[0].DeemedResellerCategory', line 1, position 762.

System.ArgumentException: Requested value 'JE_VOEC' was not found.
at Newtonsoft.Json.Utilities.EnumUtils.ParseEnum(Type enumType, NamingStrategy namingStrategy, String value, Boolean disallowNumber)
at Newtonsoft.Json.Converters.StringEnumConverter.ReadJson(JsonReader reader, Type objectType, Object existingValue, JsonSerializer serializer)

I'm running this using .NET 6 in an AWS Lambda Function.

This is halting one of my clients abilities to add orders into their system.

owenashurst avatar Aug 17 '23 22:08 owenashurst

I get exactly the same issue... any idea if this is going to be fixed ?

swisst182 avatar Oct 23 '23 14:10 swisst182

this added alredy from some times , which version you are using ?

abuzuhri avatar Oct 23 '23 17:10 abuzuhri

Fixed, I didn't realize a newer version had the fix for this. Updating to the latest version fixed my issue.

swisst182 avatar Oct 24 '23 08:10 swisst182