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

Fall back to InvalidRequestException when code is invalid_fields #1759

Closed

Conversation

helenye-stripe
Copy link
Contributor

For v2 APIs, when an error has code invalid_fields, it should fail with InvalidRequestException. This addresses that for V2, but V1 behavior remains unchanged.

@helenye-stripe
Copy link
Contributor Author

Closing because I misread the code here -- it does fall back to InvalidRequestException!

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 this pull request may close these issues.

2 participants