title: Data Factory V2 Error Code 2200 on Data Lake Sink
body: <p>Im using the following as a workshop  <a href="https://www.youtube.com/watch" rel="nofollow noreferrer">https://www.youtube.com/watch</a>?
  v=IAqJ6nCDtGc  </p>
  
  <p>I have some sales data in an Azure SQL Database (Rather than an on premise database)  </p>
  
  <p>And I have a data lake Gen Storage 1 I've successfully set up the Connectors and Data sets. Each Connector has <strong>tested ok</strong></p>
  
  <p>Do create the Azure Data Lake created an app registration to get the information I needed for the principal ID and the Principal Key</p>
  
  <p>Ive created the pipeline with a copy activity as per the above video  </p>
  
  <p>When I run it I get the following  </p>
  
  <p>{ "errorCode": "2200", "message": "Failure happened on 'Sink' side. ErrorCode=UserErrorFailedFileOperation,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The request to 'Unknown' failed and the status code is 'BadRequest', request id is ''. \r\nBad Request\r\n\r\n<h2>Bad Request - Invalid URL</h2>\r\n<hr><p>HTTP Error 400. The request URL is invalid.</p>\r\n\r\n ,Source=Microsoft.DataTransfer.ClientLibrary,''Type=System.Net.WebException,Message=The remote server returned an error: (400) Bad Request.,Source=System,'", "failureType": "UserError", "target": "Copy Sales data to data lake" }  </p>
  
  <p>Ive checked the URL in the data lake connector and this seems fine</p>
  
  <p>"dataLakeStoreUri": "https://.azuredatalakestore.net/webhdfs/v1",</p>
  
  <p>The only other URL I can think of is the one set up when registering the app on sign on URL</p>
  
  <p><a href="https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal</a></p>
  
  <p>If anyone can help it would be greatly appreciated. </p>
  
  <p>Debbie</p>