Try to fetch the correct error code