Can't connect my Photon to wifi

Hey,

I just received my particle Photon today and I tried to connect it to wifi with the android app but I get an error message “setup process couldn’t disconnect from the Photon Wi-fi network. This is an internal problem with the device, so please try running setup again after resetting your photon and ptting it back in blinking blue listen mode if needed”. I tried to reset the network connection but it didn’t work. What can I do?

Thanks

I used DFU mode to update the firmware of the photon which seems to work but now when I want to connect my Photon, I get the following error “setup process couldn’t configure the wi-fi credentials for your photon…”