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

Can't register or login in new developer sandbox #24

Open
spire-phil opened this issue Apr 16, 2021 · 1 comment
Open

Can't register or login in new developer sandbox #24

spire-phil opened this issue Apr 16, 2021 · 1 comment

Comments

@spire-phil
Copy link

When attempting to register a new customer using the sandbox store, it appears that the request from the localhost server to the big commerce v2 customers management api is timing out. I receive the following error:

ERROR [HPM] Error occurred while trying to proxy request /stores/{REDACTED}/v2/customers from localhost:3000 to https://api.bigcommerce.com (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)

After manually creating a new customer through the big commerce management console and using the configured credentials to login, I receive a successful login response, but the customer data is returned as "null". The payload is returned as :

{"message":"Successfully login!","body":{"data":{"customer":null},"cookie":"Shopper-Pref=REDACTED; Expires=Fri, 23 Apr 2021 17:41:17 GMT; Path=/; HttpOnly"},"status":true}

I have configured my api token to read/write Customer and Customer Login scopes.

Steps to reproduce:
Create new sandbox store using the link in the root's README.md
Follow the steps in the root's README.md to configure .env file and add required routes.
Attempt to register a new customer.
Manually create new customer through big commerce web console
Login with configured credentials
Examine response

@ansariswag
Copy link
Contributor

Hi @spire-phil, the customer of response data shouldn't be null on the latest updates. Also, the customer register works as expected.

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

No branches or pull requests

2 participants