TOKEN ERROR #276
-
what's up colleagues, I am working with the library, but when connecting to the database it cannot connect, it shows me the following log: Token error: code: -4, message: connection lost |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
the code is the following, NOTE.- just delete my wifi credentials, url and apikey but this the code. #include <Arduino.h> #include <Firebase_ESP_Client.h> //Provide the token generation process info. // Insert your network credentials // Insert Firebase project API Key // Insert RTDB URLefine the RTDB URL */ //Define Firebase Data object FirebaseAuth auth; unsigned long sendDataPrevMillis = 0; void setup(){ /* Assign the api key (required) */ /* Assign the RTDB URL (required) */ /* Sign up */ /* Assign the callback function for the long running token generation task */ Firebase.begin(&config, &auth); void loop(){
} |
Beta Was this translation helpful? Give feedback.
-
the code is the following, NOTE.- just delete my wifi credentials, url and apikey but this the code. #include <Arduino.h> #include <Firebase_ESP_Client.h> //Provide the token generation process info. // Insert your network credentials // Insert Firebase project API Key // Insert RTDB URLefine the RTDB URL */ //Define Firebase Data object FirebaseAuth auth; unsigned long sendDataPrevMillis = 0; void setup(){ /* Assign the api key (required) */ /* Assign the RTDB URL (required) */ /* Sign up */ /* Assign the callback function for the long running token generation task */ Firebase.begin(&config, &auth); void loop(){
} |
Beta Was this translation helpful? Give feedback.
-
Your network (WiFi) was disconnected. |
Beta Was this translation helpful? Give feedback.
Your network (WiFi) was disconnected.