Import course to account always fails.

andres_mora
Community Novice

Is possible to migrate a course to an specific account, I had a imscc in a url https://blablabla.com/course.imscc I want to upload that course to a specific account https://blabla.instructure.com/account/10 it means that I want to create a new course with the imscc I am trying with the next request via postman (the time between request and finish is one hour too much time for a simple course it is normal?)

 {
"date_shift_options": {
"new_end_date": "null",
"new_start_date": "null",
"old_end_date": "null",
"old_start_date": "null"
},
"settings":{
"file_url":"https://blabla.test.instructure.com/files/1225074/download?verifier=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NzI3MTAwMDAwMDEyMjUwNzQsImN0eCI6bnVsbCwidXNlcl9pZCI6NzI3MTAwMDAwMDAwMDQ4MTB9.US3e9LNsnMBZl2fjY9NK5UPF_tWf_eo7df-lZCnbqho"
},
"migration_type": "common_cartridge_importer",
"pre_attachment": {
"file_size": "3636",
"name": "carga-equella-export.imscc",
"no_redirect": "true"
},
"selective_import": "false"
}

it returns (the size of the course is too light)

 {
"id": 7654,
"user_id": 4810,
"workflow_state": "pre_processing",
"started_at": "2018-06-15T15:01:28Z",
"finished_at": null,
"migration_type": "common_cartridge_importer",
"created_at": "2018-06-15T15:01:28Z",
"migration_issues_url": "https://blabla.instructure.com/api/v1/courses/86/content_migrations/7654/migration_issues",
"migration_issues_count": 0,
"pre_attachment": {
"upload_url": "https://instructure-uploads.s3.amazonaws.com",
"upload_params": {
"x-amz-credential": "AKIAJDW777BLV26JM2MQ/20180615/us-east-1/s3/aws4_request",
"x-amz-algorithm": "AWS4-HMAC-SHA256",
"x-amz-date": "20180615T150128Z",
"Filename": "carga-equella-export.imscc",
"key": "account_72710000000000001/attachments/1225790/carga-equella-export.imscc",
"acl": "private",
"Policy": "eyJleHBpcmF0aW9uIjoiMjAxOC0wNi0xNVQxNTozMToyOFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJpbnN0cnVjdHVyZS11cGxvYWRzIn0seyJrZXkiOiJhY2NvdW50XzcyNzEwMDAwMDAwMDAwMDAxL2F0dGFjaG1lbnRzLzEyMjU3OTAvY2FyZ2EtZXF1ZWxsYS1leHBvcnQuaW1zY2MifSx7ImFjbCI6InByaXZhdGUifSxbInN0YXJ0cy13aXRoIiwiJEZpbGVuYW1lIiwiIl0sWyJjb250ZW50LWxlbmd0aC1yYW5nZSIsMSwxMDczNzQxODI0MF0seyJ4LWFtei1jcmVkZW50aWFsIjoiQUtJQUpEVzc3N0JMVjI2Sk0yTVEvMjAxODA2MTUvdXMtZWFzdC0xL3MzL2F3czRfcmVxdWVzdCJ9LHsieC1hbXotYWxnb3JpdGhtIjoiQVdTNC1ITUFDLVNIQTI1NiJ9LHsieC1hbXotZGF0ZSI6IjIwMTgwNjE1VDE1MDEyOFoifSx7InN1Y2Nlc3NfYWN0aW9uX3N0YXR1cyI6IjIwMSJ9LHsic3VjY2Vzc191cmwiOiJodHRwczovL2lsdW1uby5pbnN0cnVjdHVyZS5jb20vYXBpL3YxL2ZpbGVzLzEyMjU3OTAvY3JlYXRlX3N1Y2Nlc3M/dXVpZD15T1VTamExN1VvRUJBd0N1bVBXZHJnb1ZKZmhySlI2eXZaRDNDTENOIn1dfQ==",
"x-amz-signature": "46344631a59b13223cf8f6119b917853ddb994a5e952d3452a5fea70c7b9cbc9",
"success_action_status": "201",
"success_url": "https://blabla.instructure.com/api/v1/files/1225790/create_success?uuid=yOUSja17UoEBAwCumPWdrgoVJfhrJR6yvZD3CLCN"
},
"file_param": "file"
},
"progress_url": "https://blabla.instructure.com/api/v1/progress/17401",
"migration_type_title": "Common Cartridge"
}

the process always fails when I enter to the "migration_issues_url" return this message

{
"errors": [
{
"message": "The specified resource does not exist."
}
],
"error_report_id": 230279
}
Labels (1)