I am having this problem. I am unable to flash from either the web IDE (“Flash Unsuccessful”) or CLI (“Flash Failed”).
I was able to get Tinker back on the Photon and it’s functional (e.g. blinking the LED) but can’t get any other code to upload. I even tried the Web Blink example.