The error suggests the camera deliberately rejected the URL as invalid. You'll have to share more.
Consider using VLC to test camera streams before using them in Ignition.
FWIW, you are unlikely to be very happy with MJPEG from most cameras. I made a module to convert common performant streams (h264/5) to MJPEG leveraging the gateway. Found here: