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/events/module-development.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ Adobe Commerce is capable of emitting thousands of different observer and plugin
16
16
17
17
You can use the Commerce Admin or the command line to find supported events and their payloads:
18
18
19
-
* In the Admin, select **System** > Events > **Events** to display the _Event list_ page.
19
+
* In the Admin, select **System** > Events > **Events List** to display the _Events list_ page.
20
20
21
-

21
+

22
22
23
23
The left navigation contains a list of enabled modules on your system. Click on a module name to display a list of supported events. When you select an event, the main panel of the Admin displays the event's payload.
Copy file name to clipboardExpand all lines: src/pages/events/troubleshooting.md
+13-9Lines changed: 13 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,12 @@ This topic describes how to resolve frequently encountered issues with Adobe I/O
12
12
13
13
## Events are not showing in App Builder event registration
14
14
15
-
If Commerce is correctly [configured](configure-commerce.md), but triggered events aren't being received, check if the events exist in the Commerce `event_data` table.
16
-
The `event_data` table temporarily stores events before transforming them into Adobe I/O events. The table contains a status column that can have the following values:
15
+
If Commerce is correctly [configured](configure-commerce.md), but triggered events aren't being received, check the the _Events Status_ grid, located at **System** > Events > **Events Status** in the Commerce Admin, to view the status of triggered events that are present in the Commerce `event_data` database table.
16
+
17
+

18
+
19
+
You can perform additional troubleshooting by retrieving the contents of the `event_data` table, which contains information that is not displayed in the grid.
20
+
This table temporarily stores events before transforming them into Adobe I/O events. The table contains a status column that can have the following values:
17
21
18
22
Status ID | Status
19
23
--- | ---
@@ -26,11 +30,11 @@ You can use the following SQL query to select all events from the `event_data` t
26
30
27
31
`SELECT * FROM event_data`
28
32
29
-
Use the query results to determine the next troubleshooting step.
33
+
Use the SQL query results or the content of the _Events Status_ grid to determine the next troubleshooting step.
30
34
31
-
### The table is empty
35
+
### The table or grid is empty
32
36
33
-
If the `event_data` table is empty, use the following procedure to diagnose the problem:
37
+
If the `event_data` table or the _Events Status_ grid is empty, use the following procedure to diagnose the problem:
34
38
35
39
1. Run `bin/magento events:list` to ensure that you have subscribed events.
36
40
@@ -48,14 +52,14 @@ If the `event_data` table is empty, use the following procedure to diagnose the
48
52
ENABLE_EVENTING: true
49
53
```
50
54
51
-
### The event status is `0`
55
+
### The event status is `0` or `Waiting`
52
56
53
-
Events are sent by crons. If the status of an event in the `event_data` is still `0` after a long period, then the crons are not configured correctly.
57
+
Events are sent by crons. If the status of an event is still `0` in the `event_data` table or `Waiting` in the _Events Status_ grid after a long period, then the crons are not configured correctly.
54
58
In a Cloud environment, check the logs. Cron execution might have been killed due to lack of space in the environment or other reasons.
55
59
56
-
### The event status is `2`
60
+
### The event status is `2` or `Failure`
57
61
58
-
The event status `2` indicates there was an error during transmission. Additional information can be found in the `info` column of the table or in the `system.log` file.
62
+
An event status of `2` in the `event_data` table, or `Failure` in the _Events Status_ grid, indicates there was an error during transmission. Additional information can be found in the `info` column of the table or in the `system.log` file.
59
63
The following CLI command can show only logs related to the event batch sending.
Copy file name to clipboardExpand all lines: src/pages/webhooks/hooks.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ You will typically need to send authorization tokens and other connection parame
35
35
</hook>
36
36
```
37
37
38
+
The `x-adobe-commerce-request-id` is added automatically to each request and is used to track the request in the system. You can filter logs by this ID to find all logs related to a specific request.
Copy file name to clipboardExpand all lines: src/pages/webhooks/index.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ The resolution of a remote call also determines whether you should implement a w
27
27
28
28
Use these guidelines to develop your own webhooks:
29
29
30
-
1. Identify the Adobe Commerce event that triggers a webhook. Adobe Commerce merchants can browse the available events from the Admin by selecting **System** > Events > **Events** to display the Event list page.
30
+
1. Identify the Adobe Commerce event that triggers a webhook. Adobe Commerce merchants can browse the available events from the Admin by selecting **System** > Events > **Events** to display the Events list page.
31
31
32
32
1. Understand the default payload of the corresponding webhook by running the [`bin/magento webhooks:info` command](commands.md#display-the-payload-of-a-webhook).
Copy file name to clipboardExpand all lines: src/pages/webhooks/responses.md
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -200,4 +200,22 @@ An optional hook was executed with a response code other than 2xx within the sof
200
200
A required hook was executed with a response code other than 2xx within the soft and hard time limits. | Add error log entry<br/>Throw an exception
201
201
An optional hook is aborted due to reaching the hard timeout limit. | Add error log entry
202
202
A required hook is aborted due to reaching the hard timeout limit. | Add error log entry<br/>Throw an exception
203
-
The execution time of hook exceeds the soft timeout limit. | Add a notice to the error log
203
+
The execution time of hook exceeds the soft timeout limit. | Add a notice to the error log
204
+
205
+
## Database logging
206
+
207
+
You can enable database logging for debugging webhooks from the Admin. You should not enable database logging in production environments, as it can affect the performance.
208
+
209
+
To enable database logging, navigate to **Stores** > Settings > **Configuration** > **Adobe Services** > **Webhooks** > **Database logging configuration** and set the **Enabled** option to **Yes**.
You can configure the minimum log level to store logs in the database and log retention time. The available log levels are `DEBUG`, `INFO`, `WARNING`, and `ERROR`.
214
+
215
+
The logs are cleared once per day based on the retention time.
216
+
217
+
When database logging is enabled, the webhook logs are stored in the `webhook_log` table. To check logs in the Admin, navigate to **System** > **Webhooks** > **Webhook Logs**.
0 commit comments