Adobe Commerce (née Magento): Adobe Commerce has been switched off because of nonce error
About this article
This article describes the solution for solving the Adobe Commerce (née Magento) error 'Adobe Commerce has been switched off because of nonce error'.
Why have you received this error?
ChannelEngine utilizes the Adobe Commerce internal API to create the connection between your webshop and ChannelEngine. Authentication with the API is established via OAuth, which involves verifying the connection via a random string of numbers (also referred to as 'nonce') to ensure that out-of-date connections or third parties (during attacks or data interception) cannot be authorized.
The authentication protocol requires the nonce to be unique for each request, in combination with a timestamp. In some scenarios, the nonce is re-used when making API calls to Adobe Commerce. This is due to specific server configurations, especially regarding redirects, and results in errors and failed tasks.
As this error occurs in Adobe Commerce, ChannelEngine automatically disables the plugin and displays the error message stated below:
Solution
In most cases, re-enabling the plugin fixes the problem, but if this issue occurs frequently, we advise you to contact your (web) server administrator as it is likely that changes need to be made to the configuration of your web server. More information for resolving this issue can be found here. Note that while this article refers to Adobe Commerce 1.7, the same principles apply.
Comments
0 comments
Article is closed for comments.