Closed Juan-escobar94 closed 4 years ago
closed, we were using security in our app (which I didnt know :see_no_evil: ), and I needed to initialize my React Component with:
<ReactFilestack
apikey="myapikey"
clientOptions={{
security: {
policy: myFilestackCredentials.policy,
signature: myFilestackCredentials.signature
}
}}
/>
policy: myFilestackCredentials.policy, signature: myFilestackCredentials.signature
Please let me know about this in detail. Thank you
Heyo filestack community. Im plugging in the filestack component into my react application in the following manner:
The response headers I am getting from the filestack server are the following:
Prefetch:
Request URL: https://upload.filestackapi.com/prefetch Request Method: POST Status Code: 200 OK Remote Address: 18.200.162.159:443 Referrer Policy: no-referrer-when-downgrade
the response body:
List:
Request URL: https://cloud.filestackapi.com/folder/list Request Method: POST Status Code: 401 Unauthorized Remote Address: 34.200.56.215:443 Referrer Policy: no-referrer-when-downgrade
the response body:
Start:
Request URL: https://upload.filestackapi.com/multipart/start Request Method: POST Status Code: 403 Forbidden Remote Address: 18.200.162.159:443 Referrer Policy: no-referrer-when-downgrade
response body:
I can see on each request payload that my api key is being sent, I dont really understand why the 401 status code and in the start req "proper credentials were not provided"
Am I missing something?