Error occurred.
Got this message while running the api_connector.py script
```
def send_data_to_api(self, files):
for file in files:
data = self.get_data_from_file(file)
print("data:", data)
if self.post_request_api(data):
print("Data Updated")
else:
print("Error occurred")``
Error occurred.
Got this message while running the api_connector.py script
```
def send_data_to_api(self, files):
for file in files:
data = self.get_data_from_file(file)
print("data:", data)
if self.post_request_api(data):
print("Data Updated")
else:
print("Error occurred")``