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

Need more meaningful error message for data upload errors #609

Open
akbandara opened this issue Feb 21, 2023 · 2 comments
Open

Need more meaningful error message for data upload errors #609

akbandara opened this issue Feb 21, 2023 · 2 comments
Labels
Admin portal enhancement New feature or request good first issue Good for newcomers high high priority issues

Comments

@akbandara
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
When there is a data issue in a CSV upload performed in the Admin Portal, the error message doesn't provide enough information to identify which data record caused the problem, and the nature of the problem. For example, recently a data entry error resulted in a duplicate entry in the Needs CSV file. However, the error message shown didn't say that there was a duplicate primary key entry or the row in the CSV file that was causing it.

Describe the solution you'd like
When a data upload error occurs, include the type of error and the row number in the CSV file that caused the error.

@akbandara akbandara added enhancement New feature or request good first issue Good for newcomers Admin portal high high priority issues labels Feb 21, 2023
@anjula-sack
Copy link
Collaborator

@akbandara This needs some better error handling from the backend. Then we can show them those errors. Currently, it just throws plain SQL errors.

@BKHChathuranga
Copy link

May I work on this issue ? I'd love to make some contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin portal enhancement New feature or request good first issue Good for newcomers high high priority issues
Projects
None yet
Development

No branches or pull requests

3 participants