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

Bug: Internal Server Error instead of a validation error on too long inputs #12696

Open
typeofweb opened this issue Apr 27, 2023 · 4 comments · May be fixed by #13608
Open

Bug: Internal Server Error instead of a validation error on too long inputs #12696

typeofweb opened this issue Apr 27, 2023 · 4 comments · May be fixed by #13608
Labels
bug good first issue Good first issues payments Issues related to payments implementation

Comments

@maarcingebala
Copy link
Member

API is missing validation and tries to put that value to DB without checking its length, while the DB field has a 512 chars limit. Sentry log: https://saleor.sentry.io/issues/4128212843/events/a5db9b6a7e8b4d8795507fce26c691f1/

@maarcingebala maarcingebala added the payments Issues related to payments implementation label May 15, 2023
@maarcingebala
Copy link
Member

@korycins Maybe it's a quick fix, can you take a look?

@korycins
Copy link
Member

@korycins Maybe it's a quick fix, can you take a look?

@maarcingebala I will handle this in the meantime

@korycins korycins self-assigned this May 26, 2023
@maarcingebala maarcingebala added the good first issue Good first issues label Jun 13, 2023
@ssuraliya
Copy link
Contributor

I'll take this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first issue Good first issues payments Issues related to payments implementation
Projects
None yet
4 participants