You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
I'm using your Flickr API to make a simple python script to upload images to my Flickr account, but I noticed something weird. So I have codded it on my windows machine using VSCode, and then put the code on my Synology NAS to run it 24/7.
On my windows machine, it works great, but on Synology NAS, I keep getting an Authentication Error as shown below:
flickr.upload(file)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/flickrapi/core.py", line 494, in upload
return self._upload_to_form(self.UPLOAD_URL, filename, fileobj, timeout=timeout, **kwargs)
File "/var/packages/py3k/target/usr/local/lib/python3.8/site-packages/flickrapi/core.py", line 533, in _upload_to_form
raise IllegalArgumentException("Authentication is required")
I really don't understand why it is working on windows, but giving me the above-mentioned error on the Synology Linux. The Linux version, running in the Synology NAS is listed below:
(Linux version 4.4.59+ (root@build3) (gcc version 4.9.3 20150311 (prerelease) (crosstool-NG 1.20.0) ) #25556 SMP PREEMPT Thu Mar 4 18:03:46 CST 2021).
FYI the following code would give me the same error like the one stated above: