AML Studio - cannot create dataset from datastore file
I am using Jupyter notebooks to work in AML. I was able to upload a file to a datastore (the default workspaceblobstore), but am receiving an error when I try to create a dataset using this file. The relevant code is below:
#This part works
datastore = ws.get_default_datastore()
datastore.upload_files(files = ['data/german_credit_dataset.csv'], overwrite = True, show_progress = True)
# This part doesn't
dataset = Dataset.Tabular.from_delimited_files(path = [(datastore ,'german_credit_dataset.csv')])
I know the file was uploaded correctly as I am able to locate it in the datastore, and manually create a dataset. The error I receive is:
code": "UserError",
"message": "Cannot load any data from the specified path. Make sure the path is accessible and contains data.\nScriptExecutionException was caused by DatastoreResolutionException.\r\n DatastoreResolutionException was caused by UnexpectedException.\r\n
Could it be a permissions issue? I used the json file to connect to my compute instance and it seems to work since I was able to upload the file.