Open murali-shankar opened 4 months ago
update_credentials method line 127 - [0] - to be removed because it is dict
File "/usr/local/lib/python3.10/dist-packages/py_ocpi/modules/credentials/v_2_2_1/api/cpo.py", line 127, in update_credentials endpoints = response_endpoints.json()['data'][0] KeyError: 0
Hello @murali-shankar, sorry for the long response, could you tell me if this error occurs every time you're using this functionality?
update_credentials method line 127 - [0] - to be removed because it is dict
File "/usr/local/lib/python3.10/dist-packages/py_ocpi/modules/credentials/v_2_2_1/api/cpo.py", line 127, in update_credentials endpoints = response_endpoints.json()['data'][0] KeyError: 0