https://github.com/ThinkSmart/API_Examples/blob/2d9b8fe9e348b43486dd2c78c3bdce19ae731ea7/Example1.py#L73 This is bad practice to trust API response and rely string can be deserialized to array and array has at least 1 element.