Troubleshooting

In this comprehensive troubleshooting guide, we'll help you navigate through common challenges and provide solutions to get you back on track. We'll walk you through the troubleshooting process, empowering you to resolve problems efficiently and effectively.

Platform-specific issues

Platform
Issue
Resolution
SaaS
App not rendering
Ensure the app is published in Adobe Developer Console. Verify the Production workspace status is "Published".
SaaS
Extensions not visible
Verify the Admin UI SDK toggle is enabled in Stores > Configuration > Services > Adobe Developer App Builder.
PaaS / On-Premises
404 error for extension
Verify the Admin UI SDK module installation via Composer. Run bin/magento module:status Magento_CommerceBackendUix and ensure bin/magento setup:upgrade was executed.
PaaS / On-Premises
Extension not loading
Complete all post-installation commands: bin/magento setup:upgrade, bin/magento indexer:reindex, and bin/magento cache:clean.
All
"No Extensions Found" error
Validate the registration output from /admin-ui-sdk/registration action. Ensure require-adobe-auth is true in ext.config.yaml.
All
IMS authentication issues
Verify the organization ID in App Builder matches Commerce configuration. Run bin/magento admin:adobe-ims:info to see your organization ID.

Eligible extensions screens is empty

Extension point registration is missing in the Commerce Admin

Timeout error

Timeout errors can occur when a process or operation takes longer than the specified time limit to complete. The retrieval of extensions from App Registry has a timeout set to 10000ms.

  1. Check Network Connectivity:

    • Ensure that your network connection is stable and not experiencing any interruptions.
    • Verify that the server or service you are accessing is reachable from your network.
  2. Refresh the page to check that the issue was not temporary.

  3. Escalate to Support or Engineering:

    • If you are unable to resolve the timeout issue, escalate the problem to the appropriate support or engineering team.
    • Provide detailed information about the troubleshooting steps you have taken so far to expedite the resolution process.

Failed requests for mass actions that are not sent to an iFrame

Commerce logs failed mass action requests that are not sent to an iFrame. An App Builder application can access details of the failed request using the GET V1/adminuisdk/massaction/<requestId> REST API. The authentication token must have access to the Admin UI SDK. The call returns an error message if the request ID was not found or if it associated with a successful action. Connection interruption failures provides additional information.

Issues upgrading to major Admin UI SDK version

You may encounter issues upgrading the major Admin UI SDK version and see an error such as this when trying to update your composer.json:

Problem 1
    - adobe-commerce/extensions-metapackage <> requires magento/commerce-backend-sdk ^<required version> -> found magento/commerce-backend-sdk[...] but it conflicts with your root composer.json require (<target major version>).

This issue happens when the Adobe Commerce version does not install the latest major release of Admin UI SDK by default.

Add the following line to the composer.json file in the require section to solve this issue:

"magento/commerce-backend-sdk": "<target major version> as <required version>"

For example, a 2.4.7 Adobe Commerce instance that installs version 1.4 by default, upgrading Admin UI SDK to 2.3.0 will fail with the following error:

Problem 1
    - adobe-commerce/extensions-metapackage <> requires magento/commerce-backend-sdk ^1.4 -> found magento/commerce-backend-sdk[...] but it conflicts with your root composer.json require (2.x).

To solve the issue, add the following line to the composer.json:

"magento/commerce-backend-sdk": "2.0.0 as 1.4"