Skip to main content

Share link file in API Reference

  • September 25, 2023
  • 2 replies
  • 220 views
Share link file in API Reference

I have a problem when calling the share link files API with error code 403 and I don’t know what to do?
Here’s content bopy:
{
“shared_link”: {
“access”: “open”,
“password”: “mypassword”,
“unshared_at”: “2024-12-12T10:53:43-08:00”,
“permissions”: {
“can_download”: true,
“can_preview”: true
}
}
}

2 replies

CodeBoxSeb
  • Participating Frequently
  • 58 replies
  • September 25, 2023

Hi @user90 ! 🙂

In our logs, we see the error :

Enterprise+does+not+allow+modification+of+shared+link+expiration

You’d need to check your Enterprise Settings.
In the Admin Console, go to Enterprise Settings, and check if “Allow item owners and editors to modify the expiry date” is checked.


  • Author
  • New Participant
  • 1 reply
  • October 30, 2023

Hi, thank you. I has fixed that issue. But when I run in another account BOX
this issue show up. I don’t know why because I checked that the file exists and points to itself.