Skip to main content
Question

BOX SDK Python API- update requests - expires_at param not updating.

  • May 23, 2025
  • 1 reply
  • 18 views

Forum|alt.badge.img

Hi,

Here is my code

update_data = {
# "title": "xxx",
"description": '{} {}'.format(first_name, last_name),
"status": StatusState.ACTIVE,
"requires_description": False,
"requires_email": False,
"expires_at": expiration_date}
where
expiration_date = '2023-01-31T17:27:43-08:00'
 
No Errors, no explanation, follows what i had read
and
Still not working. I need this to update "on the fly" and would not like to have to use Postman to make these updates.
Thank you,
Alex

1 reply

Forum|alt.badge.img

Hi Aph,

With just this information it is impossible to help you.

Can you elaborate your question?

  • what type of authentication is your app using?
  • does the app user has access to the file
  • please share a bit more of your script