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

Expired Cart Returns 400 Bad Request #23

Closed
monicavalluri opened this issue Mar 31, 2020 · 0 comments
Closed

Expired Cart Returns 400 Bad Request #23

monicavalluri opened this issue Mar 31, 2020 · 0 comments
Assignees
Labels
ddap DDAP development p3

Comments

@monicavalluri
Copy link
Collaborator

When the Cart expires (but the cart token has not), the /checkout endpoint will return a 400 - Bad Request message instead of a 401. This leads to awkward handling of the error indicating that something went wrong with what the user submitted, instead of them just needing to reauthenticate

@chaopeng chaopeng self-assigned this Mar 31, 2020
@chaopeng chaopeng added p2 ddap DDAP development p3 and removed p2 labels Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ddap DDAP development p3
Projects
None yet
Development

No branches or pull requests

2 participants