Getting internal server error 500

Check your hardware configuration

You need to choose how many CSV values you want to send and make sure to save.
Or choose the pins that you are using if you work on GPIO communication.