It does return the resource type, for instance - {"message":"Resource domain not found by id '1'"}