Error handling for pagination parser