I created a form with a form field and I'm using api to retrieve submissions of that form.
When I try to use the url given by the submission to download the file using API token it returns a 404 error, but when I open the url in a browser (while being authenticated) it correctly shows the file.
I put in scopes for the app :
forms
forms-uploaded-files
files.ui_hidden.read
files
I expect ony the two first scopes should be necessary.
We found that the issue came from the request client class used in our framework. This class is trying to follow itself the redirections to make the requests using final IP address instead of domain name, and it seems that at some point it looses some requested data.
We found that the issue came from the request client class used in our framework. This class is trying to follow itself the redirections to make the requests using final IP address instead of domain name, and it seems that at some point it looses some requested data.
Hmmm... 404 means not found, it's not a permissions issue. That would be 401 or 403. Can you show more info about your api call? I am guessing something else is the culprit.
Scott Marion Senior Developer @ Thread Connected Marketing
Maybe. Also not sure if you need to urlencode. I have not used this endpoint so can't give any examples or help much further. Maybe some else will chime in..
Scott Marion Senior Developer @ Thread Connected Marketing