exception "No Tokens exist for the given user-identifier,Please generate and try again."

exception "No Tokens exist for the given user-identifier,Please generate and try again."

Hi my firm is using zoho crm for customer management
I have encountered this exception when trying to push data from my  backend to zoho crm .
I have debugged the code step by step and cannot figure out what exactly is failing in code.
Below are the indepth detail and some codes (im using ) for your reference.

Here is the  getOAuthTokens function  inside  ZohoOAuthPersistenceByFile.php

    public function getOAuthTokens($userEmailId)
    {
        try {
            self::setIncludePath();
            $serialized = file_get_contents("zcrm_oauthtokens.txt", FILE_USE_INCLUDE_PATH);
            if (! isset($serialized) || $serialized == "") {
                throw new ZohoOAuthException("No Tokens exist for the given user-identifier,Please generate and try again.");
            }
            $arr = unserialize($serialized);
            $tokens = new ZohoOAuthTokens();
            $isValidUser = false;
            foreach ($arr as $eachObj) {
                if ($userEmailId === $eachObj->getUserEmailId()) {
                    $tokens = $eachObj;
                    $isValidUser = true;
                    break;
                }
            }
            if (! $isValidUser) {
                throw new ZohoOAuthException("No Tokens exist for the given user-identifier,Please generate and try again.");
            }
           
            return $tokens;
        } catch (ZohoOAuthException $e) {
            throw $e;
        } catch (Exception $ex) {
            OAuthLogger::severe("Exception occured while fetching OAuthTokens from file(file::ZohoOAuthPersistenceByFile)({$ex->getMessage()})\n{$ex}");
            throw $ex;
        }
    }

in the above function

1.) my  $serialized variable contains string as follows
$serialized     = "a:1:{i:0;O:37:"zcrmsdk\oauth\utility\ZohoOAuthTokens":4:{s:51:" zcrmsdk\oauth\utility\ZohoOAuthTokens refreshToken";s:70:"1000.178*************28";s:50:" zcrmsdk\oauth\utility\ZohoOAuthTokens accessToken";s:70:"1000.9***8c.94****1";s:49:" zcrmsdk\oauth\utility\ZohoOAuthTokens expiryTime";d:1643707868185;s:50:" zcrmsdk\oauth\utility\ZohoOAuthTokens userEmailId";s:24:"crmadmin@e******d.com";}}"

2.)  $arr = unserialize($serialized);
$arr variable looks like below 

array(1)
0:zcrmsdk\oauth\utility\ZohoOAuthTokens
refreshToken:null
accessToken:null
expiryTime:null
userEmailId:null
       zcrmsdk\oauth\utility\ZohoOAuthTokens refreshToken:"1000.***********************88"
       zcrmsdk\oauth\utility\ZohoOAuthTokens accessToken:"1000.***********8c.**************1"
       zcrmsdk\oauth\utility\ZohoOAuthTokens expiryTime:1643707868185
       zcrmsdk\oauth\utility\ZohoOAuthTokens userEmailId:"crmadmin@e******d.com"

3.)$tokens = new ZohoOAuthTokens();
my ZohoOAuthTokens.php as below

<?php
namespace zcrmsdk\oauth\utility;

use zcrmsdk\oauth\exception\ZohoOAuthException;

class ZohoOAuthTokens
{
   
    private $refreshToken;
   
    private $accessToken;
   
    private $expiryTime;
   
    private $userEmailId;
   
    public function getRefreshToken()
    {
        return $this->refreshToken;
    }
   
    public function setRefreshToken($refreshToken)
    {
        $this->refreshToken = $refreshToken;
    }
   
    public function getAccessToken()
    {
        if ($this->isValidAccessToken()) {
            return $this->accessToken;
        }
        throw new ZohoOAuthException("Access token got expired!");
    }
   
    public function setAccessToken($accessToken)
    {
        $this->accessToken = $accessToken;
    }
   
    public function getExpiryTime()
    {
        return $this->expiryTime;
    }
   
    public function setExpiryTime($expiryTime)
    {
        return $this->expiryTime = $expiryTime;
    }
   
    public function isValidAccessToken()
    {
        return ($this->getExpiryTime() - $this->getCurrentTimeInMillis()) > 1000;
    }
   
    public function getCurrentTimeInMillis()
    {
        return round(microtime(true) * 1000);
    }
   
    /**
     * userEmailId
     *
     * @return String
     */
    public function getUserEmailId()
    {
        return $this->userEmailId;
    }
   
    /**
     * userEmailId
     *
     * @param String $userEmailId
     */
    public function setUserEmailId($userEmailId)
    {
        $this->userEmailId = $userEmailId;
    }
}


$tokens variable has the value as below
zcrmsdk\oauth\utility\ZohoOAuthTokens
refreshToken:null
accessToken:null
expiryTime:null
userEmailId:null


 the code fails exactly in the line 
if ($userEmailId === $eachObj->getUserEmailId())
and throws exception in the line
if (! $isValidUser) {
    throw new ZohoOAuthException("No Tokens exist for the given user-identifier,Please generate and try again.");
 }

It would be really beneficial if you assist me to clear this issue.

thanks and regards,
M.sabarimurugan.