title: ObjectiveC+SDWebImageView : Error Domain=NSURLErrorDomain Code=400 "The operation couldn’t be completed. (NSURLErrorDomain error 400.)"
body: <p>I've gotten a secured image URL from the server as follows:</p>
  
  <pre><code>https://jointeffort-dev-test.s3.amazonaws.com/11316b6e-9824-418a-869e-ca4c1a453145.jpg?AWSAccessKeyId=AKIAJITHUU5FSWYPBZIA&amp;Expires=1454576763&amp;Signature=KogwFiMdpB%2B5scNI0MkDin7jTmE%3D
  </code></pre>
  
  <p>I'm trying to load image view with that url using the <strong>SDWebImageView</strong> i got the following error</p>
  
  <p><strong><em><code>Error Domain=NSURLErrorDomain Code=400 "The operation couldn’t be completed. (NSURLErrorDomain error 400.)"</code></em></strong></p>
  
  <p>I can able to load the images from normal imageURLs but i could n't load this kind of url which is having AccessKeyId like the above url.</p>
  
  <p>Can anyone help me please.. Thanks in advance.</p>
  
  <p>I have tried the following codes.. but i did nt get image on image view (URL is working fine)</p>
  
  <p><strong>Code 1:</strong></p>
  
  <pre><code>[imageView sd_setImageWithURL:[NSURL URLWithString:imageURL] completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL)
      {
          if (error)
          {
              NSLog(@"error and image url  %@, %@",error,imageURL);
          }
          else
          {
              NSLog(@"image success = %@",image);
          }
      }];
  </code></pre>
  
  <p><strong>Code 2:</strong></p>
  
  <pre><code>[imageView sd_setImageWithURL:[NSURL URLWithString:imageURL]
                   placeholderImage:[UIImage imageNamed:@"placeholder"]
                            options:SDWebImageRefreshCached];
  </code></pre>