You need to sign in to do that
Don't have an account?

Einstein Intent API: Missing File: case_routing_intent.csv
While doing trail: "Einstein Intent API Basics>Create the Dataset"
I executed following command replacing "<TOKEN>" on Mac.
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "type=text-intent" -F "path=http://einstein.ai/text/case_routing_intent.csv" https://api.einstein.ai/v2/language/datasets/upload
I got following error:
{"message":"Failed to download the dataset from the public URL."}
Please help and advise further.
Thanks
I executed following command replacing "<TOKEN>" on Mac.
curl -X POST -H "Authorization: Bearer <TOKEN>" -H "Cache-Control: no-cache" -H "Content-Type: multipart/form-data" -F "type=text-intent" -F "path=http://einstein.ai/text/case_routing_intent.csv" https://api.einstein.ai/v2/language/datasets/upload
I got following error:
{"message":"Failed to download the dataset from the public URL."}
Please help and advise further.
Thanks
The .zip file URL isn't referenced using https. When creating a dataset from a .zip file in Apex, be sure that the URL is referenced using the https protocol and not http.
Refer below link which can help you.
https://metamind.readme.io/v1/page/troubleshooting
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya
Thanks for the reply...I am not using APEX... I am simply running the curl command in terminal. I have tried running the command with http and https both but got the same error. Accessing 'http://einstein.ai/text/case_routing_intent.csv' in browser also throws an error.
I am referring to following trail:
https://trailhead.salesforce.com/modules/einstein_intent_basics/units/einstein_intent_basics_dataset
Where fo I find the location of file: case_routing_intent.csv?
Thanks