Question:
I am having issues with Amazon returning 403 forbidden error.. ListBuckets works fine so the AccessKey and SecretKey are going in fine. I made a user on aws with full permissions. Any help please. I just downloaded the latest release of chilkat, this didnt fix it.
_http.AwsAccessKey = _accessKey
_http.AwsSecretKey = _secretKey
Dim success As Long = _http.S3_CreateBucket("chilkattestbucketsdfs")
If success <> 1 Then
Debug.Print(_http.LastErrorText)
End If
Thu, 23 Oct 2014 15:34:17 +0000
/chilkattestbucketsdfs/
Host: chilkattestbucketsdfs.s3.amazonaws.com
Authorization: RemovedThisJustIncase :)
httpRequestStr:
a_quickReq:
quickHttpRequest:
httpVerb: PUT
url: http://chilkattestbucketsdfs.s3.amazonaws.com/OBJECT
openHttpConnection:
Opening connection directly to HTTP server.
httpHostname: chilkattestbucketsdfs.s3.amazonaws.com
httpPort: 80
ssl: 0
connectElapsedMs: 93
HTTP connection succeeded.
--openHttpConnection
buildQuickRequest:
genStartLine:
startLine: PUT /OBJECT HTTP/1.1
--genStartLine
addCookies:
Not auto-adding cookies.
--addCookies
--buildQuickRequest
sendRequestHeader:
sendHeaderElapsedMs: 0
--sendRequestHeader
statusCode: 403
statusText: Forbidden
readResponseBody:
Response has no Content-Length header.
--readResponseBody
--quickHttpRequest
--a_quickReq
convertResponseBodyToUtf8:
responseBodySize: 795
responseContentType: application/xml
No charset specified, assuming Windows-1252
Converting to utf-8 charset.
fromCodePage: 1252
--convertResponseBodyToUtf8
Returning failed status because of HTTP response code.
--httpRequestStr
Failed.
--S3_CreateBucket
--ChilkatLog
This is fixed now. Please let me know the operating system, programming language, etc. that you need for the new build..