urllib.error.HTTPError: HTTP Error 403: Forbidden
-
Boa tarde pessoal !
Alguém já teve algum problema ao tentar salvar um arquivo no disco. Estou usando uma função no postgres pra salvar um arquivo no disco, mas apenas em um cliente ocorre o erro.
url: 'http://minhapagina//tmp/53FB44DB-4950-441E-98DD-9E97704F2B1D.TXT'
urllib.error.HTTPError: HTTP Error 403: Forbidden
CONTEXT: Traceback (most recent call last):
PL/Python function "salvaurldisco", line 3, in <module>
urllib.request.urlretrieve(url,filename)
PL/Python function "salvaurldisco", line 247, in urlretrieve
PL/Python function "salvaurldisco", line 222, in urlopen
PL/Python function "salvaurldisco", line 531, in open
PL/Python function "salvaurldisco", line 641, in http_response
PL/Python function "salvaurldisco", line 569, in error
PL/Python function "salvaurldisco", line 503, in _call_chain
PL/Python function "salvaurldisco", line 649, in http_error_default
PL/Python function "salvaurldisco" -
Boa tarde Ivana
Poderia disponibilizar o link novamente para podermos verificar, o mesmo está fora.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Cadastrar Login