Welcome to the new Box Support website. Check out all the details here on what’s changed.

Comments

4 comments

  • Official comment
    Kourtney

    Hey Steve, 

    I'm not sure off the top of my head what the answer is, but am looking into it! Will follow up soon :) 

    Best, 

    Kourtney

    Comment actions Permalink
  • Steve Smith

    Was using UTC timezone with the python SDK. Using America/Los Angeles tz as suggested in the sdk documentation worked with even 5 seconds

    0
    Comment actions Permalink
  • Kourtney

    Good Morning Steve, 

    I confirmed with our engineering team that the minimum can technically be the current time, which of course is not recommended. If I've understood correctly, you're able to set a shorter value via the python sdk than you are able to hitting the endpoint directly? 

    Best, 

    Kourtney

     

    0
    Comment actions Permalink
  • Steve Smith

    I didn't try hitting the endpoint directly. Was just using the python SDK wrongly. After reading through the documentation on the python SDK for the API was able to resolve my issue by using America/Los Angeles timezone instead of UTC when setting the expiration date on the shared link.

     

    Thanks Kourtney.

    0
    Comment actions Permalink

Please sign in to leave a comment.