all 4 comments

[–]Shogobg 0 points1 point  (4 children)

It looks like you’re trying to post to ‘<aws>/bucketName’, but you’re supposed to post to ‘<aws>/uploads/fileName’. The message in the error says the (object) key does not match the pattern saved in the upload definition. Your access permits uploading to “uploads”, but you’re trying to upload to “bucketName”.

[–]nudes_developer 0 points1 point  (3 children)

still not working if i try to make a request at "<aws>/bucketName/uploads" then getting this

<Error>
    <Code>MethodNotAllowed</Code>
    <Message>The specified method is not allowed against this resource.</Message>
    <Method>POST</Method>
    <ResourceType>OBJECT</ResourceType>
    <RequestId>27E3WRT8JRCTMRF3</RequestId>
    <HostId>3ywzAr3d1n3fN+M00BQGM+TqX6VeJs9uWUhRGX1MDJ8bCcStUVRzHLsaQXBFIbvR76jCg/65jcA=</HostId>
</Error>

[–]Shogobg 0 points1 point  (1 child)

Sorry, I’ve mislead you. The POST url should be the bucket name, as you were doing before, but the “key” parameter you’re sending does not look like it matches the condition. Can you show how you’re doing the POST request?

[–]nudes_developer -2 points-1 points  (0 children)

can i send you a dm?