Error messages of EnEffCo ConnectionError are unclear or faulty.
On ConnectionError, only the status code is read and assigned to an error message. This is not always correct. For instance, if giving an unsupported timeInterval (e.g. 2), the returned status code is 400 which is translated to "EnEffCo Error 400: API is unavailable or insufficient user permissions." which is not true.
Solution: Evaluate the response and print the content. For this example, response.content = b'{"Message":"An error occurred: Invalid time interval: '2'"}'