12

I have a rather simple task. I want to test uploading a file using Postman to my Amazon s3 bucket. Postman keeps erroring out saying "Could not get any response". Screenshot of my Postman configuration is below... any ideas why I can't do a simple upload to S3? (yes my signing credentials are correct)

enter image description here

Rees
  • 1,757
  • 9
  • 33
  • 50
  • Can you try importing the relevant cert in Postman - http://blog.getpostman.com/2014/01/28/using-self-signed-certificates-with-postman/? – Osiris Jul 28 '15 at 09:23

2 Answers2

3

I know this is an old post but just in case someone got stuck in the same issue.

In your screenshot the second reason for the issue might be the SSL and it is the issue. I don't know why; but AWS is providing S3 objects with self-signed SSL certificates and this is blocked by the chrome browser. If you copy the URL from postman to the browser it will be something like that.

enter image description here

following this blog post from postman here will solve the issue depending on your OS.

Summing up the solution for windows (other platforms on the blog link):

  1. Copy the URL into the chrome browser and proceed anyway.
  2. Click on the lock icon at beside link and save the certificate.

enter image description here

  1. Go to Chrome > Settings, search for SSL (chrome://settings/search#ssl) and click on Manage certificates.

enter image description here

  1. Import the certificate and restart both chrome and postman

enter image description here

  1. Use the link again in Postman and it will work.
Ahmed Hassanien
  • 527
  • 5
  • 18
1

Follow this article: https://medium.com/@christinavhastenrath/testing-file-uploads-to-aws-s3-with-iam-user-credentials-in-postman-5026fbde3ca6

Note: Add authorization data to to Request URL in authoriztion.

Farhan
  • 1,445
  • 16
  • 24