Open prakash-p-3121 opened 1 year ago
Hi @prakash-p-3121 please check example https://github.com/filestack/filestack-python/blob/develop/examples/upload_and_delete.py
@prakash-p-3121 as you correctly mentioned when passing API_KEY you're able to upload your files.
Similarly along with Security Policy and Signature you have to pass API_KEY.
Hi, I'm using filestack to upload files. Here's the code that I'm using
The URL generated for the above calls are:
https://www.filestackapi.com/api/store/S3?policy=eyJjYWxsIjogWyJwaWNrIiwgInN0b3JlIl0sICJleHBpcnkiOiAxNjczNDYxODAwfQ%3D%3D&signature=fb265f83579e29ef11c047790a1b7a62755fa127d0b1f29d39ae8ab55ef395ae
When I pass the API_KEY in the URL query, I'm able to upload the files.
But if I use just the signature and policy I'm unable to upload the files. I get the following error.
response= Invalid Application status-code= 200
Can you please tell me how to fix this error ? Is it possible to upload files with policy and signature ?