File "/Users/marksull/Development/Python/fmcapi/fmcapi/api_objects.py", line 173, in delete
self.parse_kwargs(**response)
TypeError: parse_kwargs() argument after ** must be a mapping, not NoneType
Caused by fmcapi.fmc.send_to_api returning a None on the exception:
except requests.exceptions.HTTPError as err:
logging.error("Error in POST operation --> {}".format(str(err)))
logging.error("json_response -->\t{}".format(json_response))
if response:
response.close()
return None
But then fmcapi.api_objects.delete() trying to expand the None in the response.
The error:
Caused by
fmcapi.fmc.send_to_api
returning a None on the exception:But then
fmcapi.api_objects.delete()
trying to expand the None in the response.