Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

FISWeight Enum isn't being parsed correctly #430

Open
fny opened this issue Oct 10, 2021 · 1 comment
Open

FISWeight Enum isn't being parsed correctly #430

fny opened this issue Oct 10, 2021 · 1 comment

Comments

@fny
Copy link
Contributor

fny commented Oct 10, 2021

Here's the error:

Problem with the value of property "EstimatedShippingWeight": One of the following problems occured: (0) Problem with the value of property "Unit": Expected an enum member, but received a string with value "POUNDS"

Here is the culprit:

export enum FISWeightUnitEnum {
'kilograms',
'pounds',
}

Not sure how to get enums working properly, but making FISWeight a string cleared up the issue. I tried to uppercase pounds in the enum but nothing changed.

@moltar
Copy link
Contributor

moltar commented Oct 10, 2021

Looks like just a capitalization issue?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants