If your external display isn't connected, what happens? Does Hyprland ignore that line from the config without an error and everything works normally?
# external display
monitor = DP-3, preferred, auto-left, 1
# internal display
monitor = eDP-1, preferred, auto-right, 1.333333