check status_code
update debug_configuration