We are working with images that are uploaded to FileStack using FileStack-js and FileStack-react with the credentials and security parameters to upload the files (apiKey, policy, signature), extracted from the workspace environment using the fileUploadInfo query:
At this point, we believe that the linked fileStack environment belongs to another workspace, since listing the existing images with the filesList query returns images that we have not uploaded in this project.
We need support about this to continue with the development. Thank you very much. @alacret
@jcollingj@sebastian.scholl
Yes, I found this solution: It was a missing property in the FileStack client settings. At first, I only used the parameters apiKey, policy and signature in the client initialization, and it did not work. But then I incorporated in the PickerOptions object the sub-object storeTo:
What is the storeTo supposed to be?
I took the results from the query fileUploadInfo.path and added that property to the picker options like above, I got an error saying "invalid policy: provided path is not allowed: ...
Am I supposed to prepend a full URL to this? This is sanitized but my path looks something like this "production/my8baseAPI/434rmsd43i5o3i4nd/"