[noticket] Catch int exception. e.g. /api/search/resource?offset=abc