🛠️ Scheduled Maintenance | We’ll be undergoing scheduled maintenance and upgrades between 00:00 PST Jan 26th until 00:00 PST Jan 28th. There may be brief interruption of services in that period. We apologize for the inconvenience.

×
The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

New Course! Web Scraping and API Fundamentals in Python

New Course! Web Scraping and API Fundamentals in Python

0
Votes
1
Answer

keep getting error when i run response.json(), type(response.json()) its completely giving error message
 

1 Answer

0
Votes

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