no matching function for call to 'HTTPSRedirect::printRedir(String&, const char*

Hello guys,
Please i need your guide to resolve an error encountered while trying to upload a sketch to my esp8266. Its a sketch to send temperature (ds18b20) value to google sheet. Each time i tried i kept getting this error

“no matching function for call to ‘HTTPSRedirect::printRedir(String&, const char*&, const char*&)’”

This is the entire sketch below, please how do i resolve this? help me.

#include <HTTPSRedirect.h>
#include <ESP8266WiFi.h>
#include <OneWire.h>
#include <DallasTemperature.h>

#define ONE_WIRE_BUS 2 // Data wire is plugged into port 2 on the Arduino

OneWire oneWire(ONE_WIRE_BUS); // Setup a oneWire instance to communicate with any OneWire devices

DallasTemperature sensors(&oneWire); // Pass oneWire reference to Dallas Temperature.

const char* ssid = “Daddy4u”;
const char* password = “@Jpeg4u”;

// The ID below comes from Google Sheets. See how to get it here:

const char *GScriptId = “AKfycbz2uaxPooiszm0ErerNMfSRpVFuQ-6RJA4VfreYTICwvCeEt9xc”;

// Push data at this interval
const int deepSleep = 10000000;

const char* host = “”;
const char* googleRedirHost = “”;

const int httpsPort = 443;
HTTPSRedirect client(httpsPort);

// Prepare the url (without the varying data)
String url = String("/macros/s/") + GScriptId + “/exec?”;

const char* fingerprint = “F0 5C 74 77 3F 6B 25 D7 3B 66 4D 43 2F 7E BC 5B E9 28 86 AD”;

void setup() {

Serial.println("Connecting to wifi: ");

WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
Serial.println(" IP address: ");

Serial.print(String("Connecting to "));

bool flag = false;
for (int i=0; i<5; i++){
int retval = client.connect(host, httpsPort);
if (retval == 1) {
flag = true;
Serial.println(“Connection failed. Retrying…”);

// Connection Status, 1 = Connected, 0 is not.
Serial.println("Connection Status: " + String(client.connected()));

if (!flag){
Serial.print("Could not connect to server: ");

// Data will still be pushed even certification don’t match.
if (client.verify(fingerprint, host)) {
Serial.println(“Certificate match.”);
} else {
Serial.println(“Certificate mis-match”);

// This is the main method where data gets pushed to the Google sheet
void postData(String tag, float value){
if (!client.connected()){
Serial.println(“Connecting to client again…”);
client.connect(host, httpsPort);
String urlFinal = url + “tag=” + tag + “&value=” + String(value);
client.printRedir(urlFinal, host, googleRedirHost);

// Continue pushing data at a given interval
void loop() {

//Read the temperature from DS18B20
float h = (sensors.getTempCByIndex(0));
float t = (DallasTemperature::toFahrenheit(h));

// Post this information to Google Sheet
postData(“Temperature”, h);

ESP.deepSleep(deepSleep); // Go back to sleep

//delay (deepSleep);

client.printRedir() does not take any arguments. You probably want the POST method to actually there.
See the example that came with the library:

client.printRedir() does not take any arguments.

It does in This Version. OP, guess you should confirm which version needs to be installed.

Thanks for the info...

It does in This Version. OP, guess you should confirm which version needs to be installed.

Good to know...