Some other reasons (that I can think of) for this error:
- The date/time provided is not a future date/time.
- The owner of the folder being modified is not a paid account user.
- The Enterprise of the folder owner is configured to block the modification of the shared link expiration.
You mentioned that you are trying to set the expiration to be 10 minutes into the future, so the first reason doesn’t sound like the issue. You could probably confirm this by comparing the returned invalid unix time (the value that replaces the “1712055223” from your example) with the current time.
You also mentioned that you have a paid account, so unless you are issuing the request on a folder that was collabed in by a free user account, the second reason seems unlikely.
For the third item, the Enterprise Admin can set a configuration to disable the modification of the expiration date.
The setting for this can be checked through the Admin Console via
(left panel)“Enterprise Settings”
=> (tab) “Content & Sharing”
=> (section) “Auto-Expiration”
=> (check box) “Allow item owners and editors to modify the expiration date”