TypeError: list indices must be integers or slices, not str

Tirtharaj S. shared this idea 3 years ago
Under Consideration

Working code errors out with following exception on server restart


authorization_code = response['data']['authorization_code']

TypeError: list indices must be integers or slices, not str

Leave a Comment
 
Attach a file