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

No option for store code, only "default" store code works #26

Open
acrois opened this issue Oct 16, 2020 · 0 comments · May be fixed by #28
Open

No option for store code, only "default" store code works #26

acrois opened this issue Oct 16, 2020 · 0 comments · May be fixed by #28

Comments

@acrois
Copy link

acrois commented Oct 16, 2020

This is not documented, but you can not configure the store code that is used in the GraphQL request, resulting in problems using the connector.

From Magento 2:

The store that was requested wasn't found. Verify the store and try again.

App:

FetchError: invalid json response body at http://*****/graphql reason: Unexpected token < in JSON at position 0

Source of problem:

If you do not use "default" as your store's default code, then you can not use the connector. This should be resolved by configuration option to support Magento 2 multi-store environments. Similar to setting ENV for backend host, you must also be able to set the store code.

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

Successfully merging a pull request may close this issue.

1 participant