Debug when invalid page number is specified directly by GET

Signed-off-by: nonki7777 <nonki7777@gmail.com>