Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to upload to s3 with endpoint URL #3517

Open
chandangit89 opened this issue Jan 26, 2024 · 2 comments
Open

How to upload to s3 with endpoint URL #3517

chandangit89 opened this issue Jan 26, 2024 · 2 comments
Labels
question General question s3 Issues with the AWS Android SDK for Simple Storage Service (S3).

Comments

@chandangit89
Copy link

State your question

Which AWS Services are you utilizing?

Provide code snippets (if applicable)

Environment(please complete the following information):

  • SDK Version: [e.g. 2.6.25]

Device Information (please complete the following information):

  • Device: [e.g. Pixel XL, Simulator]
  • Android Version: [e.g. Nougat 7.1.2]
  • Specific to simulators:

If you need help with understanding how to implement something in particular then we suggest that you first look into our developer guide. You can also simplify your process of creating an application, as well as the associated backend setup by using the Amplify CLI.

@chandangit89
Copy link
Author

I tried all the documented methods in your website but couldn't succeeded, I have a endpoint URL, access key, security key, bucket name only.
i do not have dashboard access so how to give policy required to upload from mobile, whole lot of issues but i couldnt find any solution from your documentation

@mattcreaser mattcreaser added question General question s3 Issues with the AWS Android SDK for Simple Storage Service (S3). labels Jan 29, 2024
@mattcreaser
Copy link
Contributor

Hi @chandangit89, could you please be more specific about your error? What happens when you try to upload the file? Can you show a code snippet?

This issue is posted in the AWS SDK for Android - unless you are already heavily invested into this SDK I would also strongly recommend using the much newer Amplify V2 (docs) instead.

You will need to have a policy set up to allow file upload access. It's not specific to a particular platform, but the identity performing the operation will need permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question s3 Issues with the AWS Android SDK for Simple Storage Service (S3).
Projects
None yet
Development

No branches or pull requests

2 participants