Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mage_Core_Exception: Error decoding auth token from UPS in /var/www/html/app/Mage.php:664 #4615

Open
addison74 opened this issue Feb 7, 2025 · 1 comment

Comments

@addison74
Copy link
Contributor

The test environment

Windows 11 + WSL
Docker 4.37.1
DDEV 1.2.5 (Apache 2.4.62, PHP 8.4.ORC1, MariaDB 10.11.9) with MAGE_IS_DEVELOPER_MODE=1
Magento Sample Data

Steps to reproduce the issue

Go to Backend > Sales > Orders
View any order from the grid
Click on the [Reorder] button
Check the /var/log/exception.log file

The exception is related to the auth token from UPS, see bellow the whole stack trace

2025-02-07T11:52:33+00:00 ERR (3): 
Mage_Core_Exception: Error decoding auth token from UPS in /var/www/html/app/Mage.php:664
Stack trace:
#0 /var/www/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/UpsAuth.php(79): Mage::throwException()
#1 /var/www/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php(2481): Mage_Usa_Model_Shipping_Carrier_UpsAuth->getAccessToken()
#2 /var/www/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php(2170): Mage_Usa_Model_Shipping_Carrier_Ups->setAPIAccessRequest()
#3 /var/www/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php(329): Mage_Usa_Model_Shipping_Carrier_Ups->_getRestQuotes()
#4 /var/www/html/app/code/core/Mage/Usa/Model/Shipping/Carrier/Ups.php(141): Mage_Usa_Model_Shipping_Carrier_Ups->_getQuotes()
#5 /var/www/html/app/code/core/Mage/Shipping/Model/Shipping.php(200): Mage_Usa_Model_Shipping_Carrier_Ups->collectRates()
#6 /var/www/html/app/code/core/Mage/Shipping/Model/Shipping.php(120): Mage_Shipping_Model_Shipping->collectCarrierRates()
#7 /var/www/html/app/code/core/Mage/Sales/Model/Quote/Address.php(1018): Mage_Shipping_Model_Shipping->collectRates()
#8 /var/www/html/app/code/core/Mage/Sales/Model/Quote/Address.php(950): Mage_Sales_Model_Quote_Address->requestShippingRates()
#9 /var/www/html/app/code/core/Mage/Sales/Model/Quote/Address/Total/Shipping.php(143): Mage_Sales_Model_Quote_Address->collectShippingRates()
#10 /var/www/html/app/code/core/Mage/Sales/Model/Quote/Address.php(1087): Mage_Sales_Model_Quote_Address_Total_Shipping->collect()
#11 /var/www/html/app/code/core/Mage/Sales/Model/Quote.php(1425): Mage_Sales_Model_Quote_Address->collectTotals()
#12 /var/www/html/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php(1226): Mage_Sales_Model_Quote->collectTotals()
#13 /var/www/html/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php(1220): Mage_Adminhtml_Model_Sales_Order_Create->collectRates()
#14 /var/www/html/app/code/core/Mage/Adminhtml/Model/Sales/Order/Create.php(364): Mage_Adminhtml_Model_Sales_Order_Create->collectShippingRates()
#15 /var/www/html/app/code/core/Mage/Adminhtml/controllers/Sales/Order/CreateController.php(361): Mage_Adminhtml_Model_Sales_Order_Create->initFromOrder()
#16 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_Order_CreateController->reorderAction()
#17 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(256): Mage_Core_Controller_Varien_Action->dispatch()
#18 /var/www/html/app/code/core/Mage/Core/Controller/Varien/Front.php(182): Mage_Core_Controller_Varien_Router_Standard->match()
#19 /var/www/html/app/code/core/Mage/Core/Model/App.php(357): Mage_Core_Controller_Varien_Front->dispatch()
#20 /var/www/html/app/Mage.php(749): Mage_Core_Model_App->run()
#21 /var/www/html/index.php(57): Mage::run()
#22 {main}
@sreichel
Copy link
Contributor

UpsAuth comes from #3878

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants