You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/admin-ui-sdk/troubleshooting.md
+45Lines changed: 45 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,3 +4,48 @@ description:
4
4
---
5
5
6
6
# Troubleshooting
7
+
8
+
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.
9
+
10
+
## App menu is missing in the Commerce Admin
11
+
12
+
It's common to have the App menu missing from the Commerce Admin Panel menu when:
13
+
14
+
***The app is not correctly published in App Builder.** Go to the App project in the developer console and check that the Production workspace has a status of Published. If this is not the case, request an approval to publish and test again once the application in Approved.
15
+
16
+
*. **The latest changes are not correctly deployed and published.** Make sure to deploy the latest changes using `aio app deploy` in the correct `org/project/workspace`.
17
+
18
+
***The registration of the menu is not correct.** Make sure that you defined the correct `menu` method with a `getItems` function that returns an array of the menus to register.
19
+
20
+
* To make sure your registration is correctly deployed, navigate in your browser to `<appURL>/index.html`. You can find your application URL in your project workspace in the Adobe developer console.
21
+
22
+
* Check the elements in your browser developer tools and look for the script `src` in the body. It usually has the format `index.<random>.js`.
23
+
24
+
Replace in the URL the `index.html` with this javascript to access its content. Search for `getItems` for example and make sure the registration defined in your app is the same one you see deployed.
25
+
26
+
## App page is not displayed when accessing the menu
27
+
28
+
An app page is not displayed when the `extensionId` specified doesn't match with the application or when the registration is missing mandatory methods.
29
+
30
+
* Check the app registration and make sure it contains the following:
31
+
32
+
*`extension:getId` method that returns a string with the `extensionId`.
33
+
*`page:getTitle` method that returns a string with the page title.
34
+
35
+
*. Check the `extensionId` is the same used in the registration to identify correctly the application with a unique name.
36
+
37
+
## Timout error
38
+
39
+
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.
40
+
41
+
1. Check Network Connectivity:
42
+
43
+
* Ensure that your network connection is stable and not experiencing any interruptions.
44
+
* Verify that the server or service you are accessing is reachable from your network.
45
+
46
+
2. Refresh the page to check that the issue was not temporary.
47
+
48
+
3. Escalate to Support or Engineering:
49
+
50
+
* If you are unable to resolve the timeout issue, escalate the problem to the appropriate support or engineering team.
51
+
* Provide detailed information about the troubleshooting steps you have taken so far to expedite the resolution process.
0 commit comments