python /home/admin/mtr/script_for_cron.py -j default -m 12 -a 'python3 ~/workarea/git/Velours/python/prod/summary_report_python.py --list_test get_number_picture_raspi -i 7 -s marlene --host_api='https://marlene.fotonower.com/'' -s summary_report -M 0 -S 0 -U 90,80,95 import MySQLdb succeeded List of test : get_number_picture_raspi Parse : RASPI PICTURE HTTP Error 502: Proxy Error You can access log here : main(x.database, x.interval, x.ssh_user, x.ssh_host, x.ssh_key, x.list_test, x.perline, x.host_log, x.host_api, x.user_mail, x.verbose, x.serveur_python_test) File "/home/admin/workarea/git/Velours/python/prod/summary_report_python.py", line 87, in main msm.SesMailer().send_html_email('senders@fotonower.com', [user_mail + '@fotonower.com'], 'Summary Report', emailContent,'') File "/home/admin/workarea/git/Velours/python/mtr/ses_mailer.py", line 41, in send_html_email response = self._sendgrid_client.send(message) File "/home/admin/.local/lib/python3.8/site-packages/sendgrid/base_interface.py", line 62, in send return self.client.mail.send.post(request_body=message) File "/home/admin/.local/lib/python3.8/site-packages/python_http_client/client.py", line 277, in http_request self._make_request(opener, request, timeout=timeout) File "/home/admin/.local/lib/python3.8/site-packages/python_http_client/client.py", line 184, in _make_request raise exc python_http_client.exceptions.UnauthorizedError: HTTP Error 401: Unauthorized Command exited with non-zero status 1 0.19user 0.12system 5:01.78elapsed 0%CPU (0avgtext+0avgdata 35384maxresident)k 45496inputs+8outputs (2261major+12344minor)pagefaults 0swaps