APIs & Integrations

MExley
Member

Issue with /files/v3/files endpoint

SOLVE

Hi,

 

I am experiencing an issue with the /files/v3/files endpoint which started to occur during the outage last night but has still not resolved.

 

I am receiving a 400 response "Invalid JSON for options input", when trying to upload a file. The options being sent through are unchanged - '{"access":"PRIVATE","ttl":"P3M"}'. 

 

Any help would be appreciated,

Mitch.

0 Upvotes
1 Accepted solution
MExley
Solution
Member

Issue with /files/v3/files endpoint

SOLVE

After updating the options to '{"access":"PRIVATE"}' the file now uploads successfully. For some reason the API is no longer happy if 'ttl' is supplied.

View solution in original post

0 Upvotes
1 Reply 1
MExley
Solution
Member

Issue with /files/v3/files endpoint

SOLVE

After updating the options to '{"access":"PRIVATE"}' the file now uploads successfully. For some reason the API is no longer happy if 'ttl' is supplied.

0 Upvotes