Cannot auth ESP8266/NodeMCU with Thinger

So I’m using an Adafruit Feather Huzzah ESP8266 and I’ve gotten it to connect to wifi but it can’t authenticate the device when it tries to connect to Thinger.

here’s the serial monitor debug:

Connecting to WiFi..
[_SOCKET] Connecting to iot.thinger.io:25202...
[_SOCKET] Using secure TLS/SSL connection: yes
[_SOCKET] Connected!
[THINGER] Authenticating. User: IcyBlade Device: ESPFeather
[THINGER] Writing bytes: 43 [OK]
[_SOCKET] Cannot read from socket!
[THINGER] Auth Failed! Check username, device id, or device credentials.
[_SOCKET] Is now closed!

I’m not sure what I’m doing wrong because I know the device info is correct, I’ve checked it over, character for character, and everything is exactly the same.

here’s my code:

#define _DEBUG_ 
#include <SPI.h>
#include <ESP8266WiFi.h>
#include <ThingerWifi.h>

#define USERNAME "IcyBlade"
#define DEVICE_ID "ESPFeather"
#define DEVICE_CREDENTIAL "DeviceCreds"

const char* ssid = "WiFiName";
const char* password = "1234";

ThingerWifi thing(USERNAME, DEVICE_ID, DEVICE_CREDENTIAL);

void setup() {
  Serial.begin(115200);
    WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi..");
  }
  thing.add_wifi("ssid", "password");
}

void loop() {
  thing.handle();
}

I had to add the

WiFi.begin(ssid, password);
  while (WiFi.status() != WL_CONNECTED) {
    delay(1000);
    Serial.println("Connecting to WiFi..");
  }

or it wouldn’t connect to wifi for some reason.
I also changed the way I input the SSID and Password so it would work with that new little chunk of code to connect to wifi

const char* ssid = "WifiName";
const char* password = "1234";

I’m Currently on Arduino IDE 1.8.13
thinger.io library 2.15.0

Thanks for any help!

Hi, I haven’t seen this.

Try to erase and create the device at the thinger platform, remember that those fields are case sensitive, sometimes we made this kind of little mistakes, and try again, let me know if this doesn’t work.

Hope this helps.