New Course! Web Scraping and API Fundamentals in Python
keep getting error when i run response.json(), type(response.json()) its completely giving error message
1 answers ( 0 marked as helpful)
Hi!
The error is probably raised because the response is not in a JSON format. Thus, the ".json()" method cannot decode it properly. Try printing response.content(), for example, to see what the actual data is.
Best,
365 Team
The error is probably raised because the response is not in a JSON format. Thus, the ".json()" method cannot decode it properly. Try printing response.content(), for example, to see what the actual data is.
Best,
365 Team