tweets = []
try:
response_json = connect_to_endpoint(search_url, headers, params)
print(“Response received successfully.”)
except Exception as e:
print(f”An error occurred: {e}”)
response_json = {}
ERROR IM GETTING
File :4
print(“Response received successfully.”)
^
IndentationError: unindent does not match any outer indentation level
need to get the code RIGHT
New contributor
Olaitan Olupo is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.