Error 500 with particle.io ide

So I got an email from the Digistump Oak kick starter campaign the other day saying the particle ide was working with the oak…not for me
I get the following message when I try to flash my oak ota using the particle IDE (which i’ve been getting for several weeks) so I have had to resort to using the arduino ide.
Error: 500. Please try again later. If the issue persists, please report to hello@particle.io

I can flash a particle photon just fine, Any ideas ?

Can you provide a screenshot of your Particle Build window with the target drawer (gear icon) open and the target firmware dropdown for the Oak open?

@mtnbikeray, I just copied the “start” app from Oak Examples on the Arduino IDE and created a new app in the Particle IDE. I then compiled against one of my Oaks without errors. The Oak is not online but when I attempted to flash, after some delay, it simply indicate the flash was unsuccessful. No error 500.

using blink an led example it fail (my oak is also offline)



Is it actually offline or showing as such which it’s supposed to be offline?
You can’t flash devices when they’re offline, so that’d explain the error.

You need to use an example tailored for the Oak. The “blink a led” example is designed for the Particle devices. Try this code:

void setup() {                
  // initialize the digital pin as an output.
  pinMode(1, OUTPUT); //LED on Oak
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(1, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(1, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

It is offline, but the same happens when it is online ( and it has the cyan dot)

@mtnbikeray, did you try with the code I posted?

Hmmm, that worked (didn’t flash, but no error 500)…

What part of the blink an led sketch is particle specific?

Sorry, it’s not the gear icon, but the cross hair target, but you got that anyway in your two later screenshots.

But could you tap and open the > icon next to the device to reveal the version info of that device

Like here

That’s what I meant with this

@mtnbikeray, I have a strong suspicion that the pin designations don’t align (D0, D7) though I’m not sure why that would cause the issue.

1.0.6
But I think I’m onto the solution with everyone’s help…I had something working on the Photon and in moving it to the Oak, I wasn’t aware of some of the code I was using wasn’t able to run as-is on the Oak…

User error.

Thanks all !