{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-storage-net/issues/150","labels_url":"https://api.github.com/repos/Azure/azure-storage-net/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-storage-net/issues/150/comments","events_url":"https://api.github.com/repos/Azure/azure-storage-net/issues/150/events","html_url":"https://github.com/Azure/azure-storage-net/issues/150","id":95162209,"number":150,"title":"When is StartCopyFromBlob applicable?","user":{"login":"xraywu","id":2353828,"avatar_url":"https://avatars.githubusercontent.com/u/2353828?v=3","gravatar_id":"","url":"https://api.github.com/users/xraywu","html_url":"https://github.com/xraywu","followers_url":"https://api.github.com/users/xraywu/followers","following_url":"https://api.github.com/users/xraywu/following{/other_user}","gists_url":"https://api.github.com/users/xraywu/gists{/gist_id}","starred_url":"https://api.github.com/users/xraywu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xraywu/subscriptions","organizations_url":"https://api.github.com/users/xraywu/orgs","repos_url":"https://api.github.com/users/xraywu/repos","events_url":"https://api.github.com/users/xraywu/events{/privacy}","received_events_url":"https://api.github.com/users/xraywu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T10:46:16Z","updated_at":"2015-07-16T14:15:11Z","closed_at":null,"body":"Hi I am trying to use **StartCopyFromBlob** to download files directly to my storage account. In most of the cases it works fine however when I try to download a video from youtube, it throws me this error - \r\n\r\n```C#\r\n// The URL is the actual URL pointing to a youtube video that is open to public\r\nvar url = @\"http://r2---sn-a5m7zu7e.googlevideo.com/videoplayback?source=youtube&dur=288.345&ip=202.126.172.38&ipbits=0&pl=27&key=cms1&signature=52C561D1DDC14A0716C909522E68577A52336974.49F877BC54AD80CBB671F09432D4846CACAA6487&id=o-AFRztEln1pr06gyTNLXru0klWglUWHDuYhyEi9CamCaB&sparams=dur,expire,id,ip,ipbits,itag,lmt,mime,mm,mn,ms,mv,nh,pcm2cms,pl,ratebypass,source,upn&sver=3&upn=1kpiikLgCAY&mime=video%2Fmp4&itag=22&fexp=901816%2C9408142%2C9408213%2C9408420%2C9408710%2C9408737%2C9410705%2C9415660%2C9415956%2C9416126%2C9416222%2C9416729%2C9416768%2C9416884&lmt=1399394881143966&expire=1436975700&ratebypass=yes&req_id=7a82f6ae33d7a3ee&redirect_counter=2&cms_redirect=yes&mm=26&mn=sn-a5m7zu7e&ms=tsu&mt=1436954183&mv=m\"\r\n\r\nvar blockBlob = BlobContainer.GetBlockBlobReference(\"blobName\");\r\nblockBlob.StartCopyFromBlob(new Uri(url), null, null, null);\r\n```\r\n\r\nThis throws me the following error - \r\n\r\n    Unhandled Exception: System.AggregateException: One or more errors occurred. ---> \r\n    Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (400) Bad Request. ---> \r\n    System.Net.WebException: The remote server returned an error: (400) Bad Request.\r\n       at System.Net.HttpWebRequest.GetResponse()\r\n       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)\r\n       --- End of inner exception stack trace ---\r\n       at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext)\r\n       at Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob.StartCopyFromBlob(Uri source, AccessCondition sourceAccessCondition, AccessCondition destAccessCondition, BlobRequestOptions options, OperationContext operationContext)\r\n\r\nIt seems certain requests can not get through...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-storage-net/issues/comments/121969065","html_url":"https://github.com/Azure/azure-storage-net/issues/150#issuecomment-121969065","issue_url":"https://api.github.com/repos/Azure/azure-storage-net/issues/150","id":121969065,"user":{"login":"xraywu","id":2353828,"avatar_url":"https://avatars.githubusercontent.com/u/2353828?v=3","gravatar_id":"","url":"https://api.github.com/users/xraywu","html_url":"https://github.com/xraywu","followers_url":"https://api.github.com/users/xraywu/followers","following_url":"https://api.github.com/users/xraywu/following{/other_user}","gists_url":"https://api.github.com/users/xraywu/gists{/gist_id}","starred_url":"https://api.github.com/users/xraywu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xraywu/subscriptions","organizations_url":"https://api.github.com/users/xraywu/orgs","repos_url":"https://api.github.com/users/xraywu/repos","events_url":"https://api.github.com/users/xraywu/events{/privacy}","received_events_url":"https://api.github.com/users/xraywu/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T14:15:11Z","updated_at":"2015-07-16T14:15:11Z","body":"@pemari-msft sorry the link got expired - however at the time when I tried to download it from Azure Storage it was still valid. You can always use http://en.savefrom.net/ and enter a link from youtube (e.g. https://www.youtube.com/watch?v=5ndj6xn2P0c) to get a valid url at the moment."}}