Esp32 blynk app error

I am using esp32 and I want to blink the led using wifi through blynk app. The esp32 board connected to my mobile hotspot but when I open the blynk app and set the configurations. It is showing “Blink Wasn’t online yet”
the code I used is shown below

#define BLYNK_PRINT Serial
#include <BlynkSimpleEsp32.h> 

// You should get Auth Token in the Blynk App.
char auth[] = "uhdDKK3G7vk4GzqsNLZik7cEQurNnZoq";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "yup";
char pass[] = "123456789";

int led = 33; 

void setup()
{
  // Debug console
  Serial.begin(115200);
  Blynk.begin(auth, ssid, pass);
  pinMode(led, OUTPUT);

}

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

I connected the esp32 to my mobile hotspot and i am using app from the same mobile.
I also tried connecting esp32 and mobile to a same wifi router. But it doesn’t work.
What else to do

What do you see in your serial monitor?

Pete.

[2865104] Invalid auth token
[2882692] Connecting to blynk.cloud:80
[2883224] Invalid auth token
[2900692] Connecting to blynk.cloud:80
[2901144] Invalid auth token
[2918692] Connecting to blynk.cloud:80
[2919166] Invalid auth token
[2936692] Connecting to blynk.cloud:80
[2937191] Invalid auth token
[2954692] Connecting to blynk.cloud:80
[2955107] Invalid auth token
[2972692] Connecting to blynk.cloud:80
[2973141] Invalid auth token
[2990692] Connecting to blynk.cloud:80
[2991150] Invalid auth token
[3008692] Connecting to blynk.cloud:80
[3009068] Invalid auth token
[3026692] Connecting to blynk.cloud:80
[3027087] Invalid auth token
[3044692] Connecting to blynk.cloud:80
[3045114] Invalid auth token
[3062692] Connecting to blynk.cloud:80
[3063233] Invalid auth token
[34] Connecting to PSR PG 3RD FLOOR - TP-Link
[622] Connected to WiFi
[622] IP: 192.168.3.110
[622]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / '/
/
//_, /////_
/
__/ v1.0.0-beta.1 on ESP32

[629] Connecting to blynk.cloud:80
[1212] Invalid auth token
[18628] Connecting to blynk.cloud:80
[19024] Invalid auth token
[36628] Connecting to blynk.cloud:80
[37044] Invalid auth token
[54628] Connecting to blynk.cloud:80
[55072] Invalid auth token
[72628] Connecting to blynk.cloud:80
[73116] Invalid auth token
[90628] Connecting to blynk.cloud:80
[91006] Invalid auth token

You seem to have the wrong Blynk library installed.
You need to un-install it, then download and install this version…

Pete.

Hi PeteKnight,

Thank you for your response. It worked for me.

Thanks & Regards,
Shammi