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

Requests Ignoring 404 Responses #214

Open
jspizziri opened this issue Sep 26, 2024 · 0 comments
Open

Requests Ignoring 404 Responses #214

jspizziri opened this issue Sep 26, 2024 · 0 comments

Comments

@jspizziri
Copy link

In api calls like utils.api.product.getById(...), the underlying request module is completely ignoring 404 responses. When requesting with a template, most of the time this is fine, however in some cases even when requesting with a template, the response to /products.php?productId=... returns the entire BigCommerce 404 (Not Found) page. This is quite problematic.

There should be some way to handle or bubble up status codes to the callback.

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

1 participant