Handle resource decoding failure
Handled permission denied, change code to be sub_status