Avoid un-encodable function in resource access manager