Skip to content

Errors When Uploading CSV File #51

@kayaelle

Description

@kayaelle

Describe the bug
For the "WIT Mock MIT Degree" Batch - using the Mock MIT Bachelor of Science Degree w/render credential template - uploading the attached csv file results in an internal server error in the console. On the screen it looks like the file didn't upload but if you go back to the batch from the issuance overview, it lists the credential recipients but with a "CSV is missing the following fields:
earnerName, subject, credentialName, emailAddress." and that isn't true.

I've checked for special characters, spaces, and blank lines in the csv file using both excel and textedit. I believe this is a problem with the csv file but can't track it down. Once we figure out the issue with the csv file, we should look into how to return an error in the interface that matches the actual issue with the csv file
WIT MIT Bachelor of Science Degree.csv
.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://dashboard.dcconsortium.org/admin/collections/credential-batch/6632509a883e43486eeb18cd?page=0)(https://dashboard.dcconsortium.org/admin/collections/credential-batch/6632509a883e43486eeb18cd?page=0)
  2. Click continue until you get to the "Upload & Manage Earner Information" screen
  3. Open console
  4. Upload attached csv file
  5. See error in console
  6. Go back to https://dashboard.dcconsortium.org/admin/collections/credential-batch/6632509a883e43486eeb18cd?page=0)
  7. Click through to "Upload & Manage Earner Information" screen to see list of earners and their info with an error message and disabled continue button.

Expected behavior
This csv file should be uploaded successfully. Note that if uploaded on the credential template, it validates.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingminor

Type

No type

Projects

Status

Admin Dashboard Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions