Boa tarde, ao executar o código python no terminal, aparece o seguinte erro:
401 Traceback (most recent call last): File "recent_search.py", line 64, in main() File "recent_search.py", line 59, in main for json_response in paginate(url, headers): File "recent_search.py", line 49, in paginate data = connect_to_endpoint(full_url, headers) File "recent_search.py", line 40, in connect_to_endpoint raise Exception(response.status_code, response.text) Exception: (401, '{\n "title": "Unauthorized",\n "type": "about:blank",\n "status": 401,\n "detail": "Unauthorized"\n}')
Já procurei diversas soluções aqui no forum e na internet, se alguém souber como resolver fico agradecido.