Update main.py

add 1 more error handlers specifically for invalid URL request