Skip to content

Fails when trying to refresh access tokenΒ #9

@Mexidense

Description

@Mexidense

Hello @tristanjahier !

I hope everything is gone well!

I'm using this hash commit for versioning the package:
"tristanjahier/zoho-crm-php": "dev-v2-support#67f2e5fa310a29381f0581a04e8a84880ef24e59",

I've noticed on my app the following exception when it tries to refresh the token: ErrorException: Undefined index: expires_in

Trace:

ErrorException: Undefined index: expires_in
1
File "/var/www/html/vendor/tristanjahier/zoho-crm-php/src/V2/Client.php", line 319
2
File "/var/www/html/vendor/tristanjahier/zoho-crm-php/src/V2/Client.php", line 319 in Illuminate\Foundation\Bootstrap\HandleExceptions::handleError [args]
3
File "/var/www/html/app/Providers/ZohoServiceProvider.php", line 32 in Zoho\Crm\V2\Client::refreshAccessToken
+7 non-project frames
11
File "/var/www/html/app/Services/ZohoService.php", line 39 in app [args]
12
File "/var/www/html/app/Services/ZohoService.php", line 34 in App\Services\ZohoService::buildClient

Do you know what's happening?

Thank in advance πŸ™πŸ½

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions