graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

invalid input syntax for type money: "£120.00"

Open subodh022 opened this issue 5 years ago • 2 comments

I am trying to insert a value (£120.00) to a field of type "money", but it throws this errors - invalid input syntax for type money: "£120.00"

Though it works with $ symbol.

subodh022 avatar Jan 25 '21 07:01 subodh022

You need to set LC_MONETARY to your locale. https://stackoverflow.com/a/54065313

wwwdepot avatar Jan 26 '21 22:01 wwwdepot

@wwwdepot Thanks, that solved it.

subodh022 avatar Jan 28 '21 07:01 subodh022