Millisecond Forums

Network Error: Error transferring: 403

https://forums.millisecond.com/Topic31697.aspx

By KatrinaMcDonough - 6/9/2021

Hello, 

I am trying to run a script on the web version (https://mili2nd.eu/kn2b), but I get the errors:
"Unable to load the picture 'https://scripts.millisecond.eu/jurquhart/perspective_taking_yajing/female avatar+left+barrier+45°+上+mirror-inverted.png'. Network Error: Error transferring: 403"
for most of the stimuli. 
The script first asks to choose a language, then when one is selected a new script is loaded and then I get the error. The script runs fine in the lab version. I checked that all the stimuli has been uploaded and it's all there.
Any help much appreciated,
Thanks,
Katrina
By Dave - 6/9/2021

KatrinaMcDonough - 6/9/2021
Hello, 

I am trying to run a script on the web version (https://mili2nd.eu/kn2b), but I get the errors:
"Unable to load the picture 'https://scripts.millisecond.eu/jurquhart/perspective_taking_yajing/female avatar+left+barrier+45°+上+mirror-inverted.png'. Network Error: Error transferring: 403"
for most of the stimuli. 
The script first asks to choose a language, then when one is selected a new script is loaded and then I get the error. The script runs fine in the lab version. I checked that all the stimuli has been uploaded and it's all there.
Any help much appreciated,
Thanks,
Katrina

The problem is likely the "+" characters in the file names. "+" has special meaning in URLs, so you should not use it in file names. Rename the files, avoiding any special characters, adjust the script accordingly to reflect the changed file names, and then things should work.
By erikb - 6/15/2021

Unfortunately, the storage platform we use for scripts and data returns a 403 error when it can't find a file instead of the more familiar 404 "File Not Found".

And, as Dave suggested, beware of using URL special characters in filenames.

Thanks and Enjoy,
Erik
By KatrinaMcDonough - 6/15/2021

Thanks both for your help, removing the "+" symbol from my filenames fixed the issue. Thanks!