AmoCRM\OAuth2\Client\Provider\AmoCRMException: Некорректный запрос: В запросе отсутствует ряд параметров или параметры невалидны (Authorization code has expired) in /var/www/html/ashk_automation/ashk_integration/vendor/amocrm/oauth2-amocrm/src/AmoCRMException.php:28 Stack trace: #0 /var/www/html/ashk_automation/ashk_integration/vendor/amocrm/oauth2-amocrm/src/AmoCRM.php(163): AmoCRM\OAuth2\Client\Provider\AmoCRMException::errorResponse(Object(GuzzleHttp\Psr7\Response), Array) #1 /var/www/html/ashk_automation/ashk_integration/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(627): AmoCRM\OAuth2\Client\Provider\AmoCRM->checkResponse(Object(GuzzleHttp\Psr7\Response), Array) #2 /var/www/html/ashk_automation/ashk_integration/vendor/league/oauth2-client/src/Provider/AbstractProvider.php(536): League\OAuth2\Client\Provider\AbstractProvider->getParsedResponse(Object(GuzzleHttp\Psr7\Request)) #3 /var/www/html/ashk_automation/ashk_integration/vendor/amocrm/amocrm-api-library/src/AmoCRM/OAuth/AmoCRMOAuth.php(135): League\OAuth2\Client\Provider\AbstractProvider->getAccessToken(Object(League\OAuth2\Client\Grant\AuthorizationCode), Array) #4 /var/www/html/ashk_automation/ashk_integration/amocrm_auth.php(10): AmoCRM\OAuth\AmoCRMOAuth->getAccessTokenByCode('def5020025af5c2...') #5 {main} Next AmoCRM\Exceptions\AmoCRMoAuthApiException: Некорректный запрос: В запросе отсутствует ряд параметров или параметры невалидны (Authorization code has expired) in /var/www/html/ashk_automation/ashk_integration/vendor/amocrm/amocrm-api-library/src/AmoCRM/OAuth/AmoCRMOAuth.php:139 Stack trace: #0 /var/www/html/ashk_automation/ashk_integration/amocrm_auth.php(10): AmoCRM\OAuth\AmoCRMOAuth->getAccessTokenByCode('def5020025af5c2...') #1 {main}