Skip to content

1 validation error detected: Value '' at 'shipmentType' failed to satisfy constraint: Member must satisfy enum value set: [LTL, SP]" #149

Answered by IncredibleX
IncredibleX asked this question in Q&A
Discussion options

You must be logged in to vote

In Amazon-SP-API-CSharp-main\Source\FikaAmazonAPI\AmazonSpApiSDK\Models\FulfillmentInbound\PutTransportDetailsRequest.cs in FikaAmazonApi

as Workaround I changed ShipmentType from enum to string, after that it worked.
' ///


/// Gets or Sets ShipmentType
///

[DataMember(Name = "ShipmentType", EmitDefaultValue = false)]
public string ShipmentType { get; set; }
///
/// Initializes a new instance of the class.
///
'

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ouzhiman
Comment options

Answer selected by IncredibleX
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants