Bad auth token

Here’s the sketch i’m using to drive servo with NdeMCU. keep getting
[852420] connecting to blynk-cloud.com:80
[888553] invalid auth token



#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>

#include <BlynkSimpleEsp8266.h>

#include <Servo.h>



Servo servo;



#define BLYNK_DEVICE_NAME           "SERVO CONTROL"
#define BLYNK_AUTH_TOKEN            "TymRnAFT8KjICgkWjNxRtWo2YRUXruXV"
#define BLYNK_TEMPLATE_ID "TMPLd9pPWCBm"

char ssid[] = "Axxxxxxx";

char pass[] = "vxxxxxx1";



void setup()

{

  Serial.begin(9600);

  Blynk.begin(BLYNK_AUTH_TOKEN, ssid, pass);



  servo.attach(15); // NodeMCU D8 pin

  

 }

  

void loop()

{

  

  Blynk.run();

  

}

BLYNK_WRITE(V1)

{

   servo.write(param.asInt());

}



BLYNK_WRITE(V2)

{

  servo.write(0);

}

BLYNK_WRITE(V3)

{

  servo.write(90);

}

```cpp

void loop()

PLEASE HELP!

Must be at the top of your sketch, the first lines.

It’s always a good idea to quote the error message exactly (Invalid auth token, not Bad auth token) and to search the forum for that problem before creating a new post.

If you’d have done that you would have found this:

Pete.