Adafruit STEMMA soil sensor issues

I am having an issue with the Adafruit STEMMA soil sensor where it is just outputting ERROR! into the serial monitor. I used the sample code from the library so I do not think it is a code issue. I have tried changing to a different Arduino(ELEGOO Uno R3) which also did not work. I tried reinstalling the library and testing to make sure that it is getting power. I am using a ELEGOO Arduino Nano V3.0. It works just fine for other code.

This is the sample code they provided:

/*

#include "Adafruit_seesaw.h"

Adafruit_seesaw ss;

void setup() {
  Serial.begin(9600);
  
  if(!ss.begin()){
    Serial.println("ERROR!");
    while(1);
  }
  else Serial.println("seesaw started");
}

void loop() {
  Serial.print(ss.analogRead(2));
  Serial.print(",");
  Serial.println(ss.analogRead(3));
  delay(50);  
}

Adafruit STEMMA Soil sensor: Adafruit STEMMA Soil Sensor - I2C Capacitive Moisture Sensor [JST PH 2mm] : ID 4026 : $7.50 : Adafruit Industries, Unique & fun DIY electronics and kits.

It has a I2C bus, which uses pin A4 and A5 on a Arduino Uno and Arduino Nano.
In the photo I think you use the digital pins D4 and D5, but you need the analog pins A4 and A5.

Thank you for using code tags for your sketch and adding picture in your first post :sunglasses:

Did you know that you can show the pictures in your post ?
After posting it, copy the link to the photo, select "Modify" and use the 'Insert a image' button and use that link. Then the attached photo will show in the same post.