AnsweredAssumed Answered

Error while importing CSV?

Question asked by Jon Higham on Mar 2, 2016
Latest reply on Mar 3, 2016 by Stefanie Sanders

When I try to upload a csv file containing new users to the API using an application I have written in C# I get a successful 200 response. However, if I check user uploads using the /api/v1/accounts/1/sis_imports API I get the response below. I have created the CSV in notepad, rather than Excel, and can upload the file using the Postman REST client. It looks like my C# is at fault (although I can use similar code to upload files for a user without a problem) but I need to know why it is failing so that I can try to address it.

 

 

"sis_imports": [

    {

      "created_at": "2016-03-02T16:15:41Z",

      "started_at": "2016-03-02T16:15:41Z",

      "ended_at": "2016-03-02T16:15:44Z",

      "updated_at": "2016-03-02T16:15:44Z",

      "progress": 100,

      "id": 486,

      "workflow_state": "failed_with_messages",

      "data": {

        "import_type": "instructure_csv",

        "diffed_against_sis_batch_id": 481,

        "counts": {

          "accounts": 0,

          "terms": 0,

          "abstract_courses": 0,

          "courses": 0,

          "sections": 0,

          "xlists": 0,

          "users": 0,

          "enrollments": 0,

          "groups": 0,

          "group_memberships": 0,

          "grade_publishing_results": 0

        }

      },

      "batch_mode": null,

      "batch_mode_term_id": null,

      "override_sis_stickiness": null,

      "add_sis_stickiness": null,

      "clear_sis_stickiness": null,

      "diffing_data_set_identifier": "false",

      "diffed_against_import_id": null,

      "processing_errors": [

        [

          "",

          "Error while importing CSV. Please contact support. (Error report 47380000000007635)"

        ]

      ]

    }

Outcomes