How to Check if Error key exist in a JSON String Python

Viewed 23

If i want to check if my JSON String contain Error from API request, i have a string that saved the respond, Example

"final = response.json()"

And i want to check if the API response error

0 Answers
Related