Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL 11- Can't create new channels #182

Closed
clipvui2512 opened this issue Oct 10, 2019 · 1 comment
Closed

PostgreSQL 11- Can't create new channels #182

clipvui2512 opened this issue Oct 10, 2019 · 1 comment
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@clipvui2512
Copy link

clipvui2512 commented Oct 10, 2019

Can't create new channels
Database : PostgreSQL 11
"@vendure/admin-ui-plugin": "0.3.4",
"@vendure/asset-server-plugin": "0.3.4",
"@vendure/core": "0.3.4",
"@vendure/email-plugin": "0.3.4",
"pg": "7.12.1"

{
  "errors": [
    {
      "message": "Variable \"$input\" got invalid value { code: \"code\", pricesIncludeTax: true, currencyCode: \"USD\", defaultShippingZoneId: \"1\", defaultTaxZoneId: \"1\" }; Field token of required type String! was not provided.",
      "locations": [
        {
          "line": 1,
          "column": 24
        }
      ]
    },
    {
      "message": "Variable \"$input\" got invalid value { code: \"code\", pricesIncludeTax: true, currencyCode: \"USD\", defaultShippingZoneId: \"1\", defaultTaxZoneId: \"1\" }; Field defaultLanguageCode of required type LanguageCode! was not provided.",
      "locations": [
        {
          "line": 1,
          "column": 24
        }
      ]
    }
  ]
}
@clipvui2512 clipvui2512 added the type: bug 🐛 Something isn't working label Oct 10, 2019
@michaelbromley
Copy link
Member

michaelbromley commented Oct 10, 2019

Were you trying to create a new channel via the Admin UI or directly via the graphql API?

Edit: Ok, I reproduced this in the Admin UI. Not specific to Postgres. Will fix in next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants