The access token provided has expired

Sudden error on working (yesterday) photon when trying to flash code from WB. Flashes fine from WEBIDE.

New project (old one also produces same error)


#define LED_BUILTIN D7

// setup() runs once, when the device is first turned on.
void setup()
{
  // Put initialization like pinMode and begin functions here.

  pinMode(LED_BUILTIN, OUTPUT);
  digitalWrite(LED_BUILTIN, HIGH);
}

// loop() runs over and over again, as quickly as it can execute.
void loop()
{
  // The core of your code will likely live here.
  digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
  delay(1000); 
}

Any suggestions ?

Have you tried logging out and back in?

4 Likes

Eureka! - so obvious … thanks