Error: Invalid Auth token

Hello everyone,

I am trying to use Blynk-IoT App and Blynk.Console but I am getting the error saying that Connecting to blynk-cloud.com:80, Invalid auth Token.

I am using TI-MSP430Launchpad + cc3100 boosterpack as my hardware.

Here is my source code.

#define BLYNK_PRINT Serial

#define BLYNK_TEMPLATE_ID "TMPLoCSPgfX"
#define BLYNK_DEVICE_NAME "TEST"
#define BLYNK_AUTH_TOKEN "9VueSiaBaaQhO07BxiWJ122lZwdcSzv"

#include <SPI.h>
#include <WiFi.h>
#include <BlynkSimpleEnergiaWiFi.h>
char auth[] = "9VueSiaBaaQhO07BxiWJ122lqZwdcSzv";
char ssid[] = "realme";
char pass[] = "112233";

BLYNK_WRITE(V0)
{
int a= param.asInt();
digitalWrite(RED_LED,a);
}

void setup()
{
   Serial.begin(9600);
   pinMode(RED_LED,OUTPUT);
  Blynk.begin(auth, ssid, pass);
}

void loop()
{
  Blynk.run();
}

Please edit your post and add triple backticks ( ``` ) before and after your whole sketch.

Thank you John93 for your response

are you using the latest version of blynk library which is 1.1.0 ?

Yes I am using the latest version of Blynk 1.1.0 (https://github.com/blynkkk/blynk-library)

I’d suggest that you delete the old blynk libraries ( all of them ) and just keep the latest one only.

Thank you john93 for your response , I will try.