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

Shared link: download url in response not working #3621

Open
olegarg1 opened this issue Aug 23, 2024 · 0 comments
Open

Shared link: download url in response not working #3621

olegarg1 opened this issue Aug 23, 2024 · 0 comments

Comments

@olegarg1
Copy link

olegarg1 commented Aug 23, 2024

I am implementing Box file picker in Next js 13 with react 18 in it. On file picking i get response that shows download url inside Shared link with all the permissions to download the file. In reality the link is still not allowed to use. The other url (url:) inside Shared link shows file content but not trigger auto download and i got to download manually only. I need to send download url to BE to download there and then fetch the file into the FE. That second url if sent to BE gives BE page HTML instead of file content.

If you are a Box employee, you do not need to create an issue to open a pull request

Please fill out the following template so we can reproduce and fix your issue as quickly as possible!

Note: if your issue includes a potential security vulnerability, please do not file it here. Instead, email the issue to [email protected] for support.

Note: if your issue involves previewing files, please report the issue here.

Environment:

  • Elements version:

Desktop (please complete the following information):

  • OS: [e.g. Windows 10]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Steps to reproduce the problem:

What is the expected behavior? (Screenshots can be helpful here)

What went wrong? (Screenshots, console logs, or HAR files can be helpful here)

Link to application or sample code:

If relevant, link to file (or attach file here)

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant