Event Logs and Exceptions

Events and exceptions help you monitor and troubleshoot data moving through Pipe17. Events are a log of the requests Pipe17 receives and sends, such as an order coming in from a sales channel or a shipping request going out to a 3PL. Each event records the request, the response and the result. Exceptions flag specific problems on a record that need attention, with details and a recommendation. This article describes the fields, statuses and API operations of both, and how they relate.

Key Concepts:

  • Events: log of requests into and out of Pipe17, successful and failed. In the app: Events > Logs (under Monitor).
  • Exceptions: problems on a record that need attention. In the app: Exceptions (under Monitor).
  • Timeline: change history kept on exceptions and on records such as orders, shipping requests and fulfillments.

Event Logs Data Model

An event records one request: Pipe17's API receiving a call, a connector sending data to an external system, or a webhook call. Events show what was sent, what came back and whether it worked. They're the first place to look when data didn't arrive where you expected.

Event Logs Key Fields

Identification Fields

  • eventId: event ID (system-generated).
  • requestId: ID of the API request that produced the event.
  • entityType: type of record the event is about, for example orders, products, inventory, shipments (shipping requests) or fulfillments.
  • entityId: Pipe17 ID of that record.
  • extEntityId: ID of the record in the connected system.

Event Classification

  • source: api (an API call), api-webhook (a webhook call) or custom (an event created through the API).
  • direction: in (data coming into Pipe17, such as a new order from a sales channel) or out (data going out, such as a shipping request sent to a 3PL).
  • operation: what was done, for example create, update, delete, poll or sync. See Common Event Operations.
  • keywords: searchable keywords for the event.
  • integration: integration that sent or handled the request.
  • isBatch: the event is for a batch action.

Request Information

request holds the request details:

  • method: HTTP method (GET, POST, PUT, DELETE).
  • url: request URL.
  • headers: request headers.
  • body: request body.
  • authobj: authorization information for the request.

Response Information

response holds the response details:

  • status: HTTP status code.
  • message: response message.
  • headers: response headers.
  • body: response body.
  • retries: number of times the request was rerun.

Status and Timing

  • status: pending, acknowledged, completed or failed. See Event Status Values.
  • timestamp: when the event was triggered.
  • duration: how long the operation took, in milliseconds.

System Fields

  • createdAt, updatedAt: when the event was created and last updated.
  • userId: user who made the request, if any.
  • apikeyId: API key used, if any.
  • orgKey: organization the event belongs to.

Event Status Lifecycle

  • Pending: the event is created when the request starts.
  • Acknowledged: for some outbound requests, the request was sent but success hasn't been confirmed yet.
  • Completed: the request succeeded.
  • Failed: the request failed. Check response.status and response.body for the reason.

Event Details window for a failed outbound event, on the Response tab, showing code 500, the message and the response body, with the Rerun button

Rerunning Events

You can rerun (replay) an event once the underlying problem is fixed. Pipe17 sends the stored request again and updates the same event: its timestamp, its status (completed or failed), its response, and response.retries (increased by one). No new event is created. An event can't be rerun if its stored request body was truncated because it was too large, or if it has no request URL.

  • In the app: go to Events > Logs, select the events, and click Rerun.
  • Through the API: POST /events/{EventId}/replay, one event per call.

Take care when rerunning:

  • Rerunning an acknowledged or completed event can duplicate data.
  • Rerunning a shipping request sent to a fulfillment channel can ship the order twice if the earlier request is still active or already fulfilled.
  • Rerunning a fulfillment sent to a sales channel updates the fulfillment information on the order there.

Event Retention Policy

  • Events: kept for 60 days.
  • Inventory events: kept for 15 days.
  • Timeline entries (record change history): kept for 60 days.

Events older than the retention period are permanently removed and can't be retrieved. They aren't archived.

Large payloads: large request and response bodies are stored separately and loaded when you open the event details.

Best practice: don't rely on events for long-term storage. If you need a longer audit trail, export what you need regularly. For retention of other data, see Data retention in the app.


Exceptions Data Model

An exception flags a problem on a record (an order, shipping request, fulfillment, product, integration and so on) that Pipe17 or an integration couldn't handle on its own. Examples: an order that can't be routed, a shipping request that couldn't be sent, or a fulfillment that doesn't match its shipping request.

Exceptions Key Fields

Identification Fields

  • exceptionId: exception ID (system-generated).
  • entityType: type of record with the problem, for example orders, shipments, fulfillments, products or integrations.
  • entityId: Pipe17 ID of the record. It can hold a comma-separated list when one exception covers several records.
  • extEntityId: ID of the record in the connected system.
  • relatedEntityType, relatedEntityId, extRelatedEntityId: a related record. For a shipping request exception, the related record is its sales order or transfer order.

Exception Classification

  • exceptionType: type of problem. See Common Exception Types.
  • categoryId: exception category. Categories are managed in Settings > Exception Categories.
  • exceptionPriority: high, medium or low.
  • exceptionSeverity: high, medium or low.
  • origin: external (from a connected system), internal (from Pipe17) or unknown.

Content and Resolution

  • exceptionDetails: error message or explanation.
  • recommendation: suggested steps to fix it.
  • aiTip: AI-generated tip for fixing it.
  • status: active, dismissed or resolved.

Metadata

  • integration: integration that created the exception.
  • tags: tags on the exception.
  • internal: internal information.

Timeline

  • timeline: history of changes to the exception. See Timeline Data Model.

System Fields

  • createdAt, updatedAt: when the exception was created and last updated.
  • orgKey: organization the exception belongs to.
  • autoEngUpdateStatus, autoEngUpdateStatusUpdatedAt: set internally. They show whether the automation engine may still update the exception.

Common Exception Types

In the app, an exception type shows as words without the leading "e". For example, eMissingSKU shows as "Missing SKU". The full list of values is in the Pipe17 API reference under exceptionType.

Type Raised on Meaning
eGeneric Orders, shipping requests, fulfillments, integrations General failure; read exceptionDetails. On a shipping request: it couldn't be sent to the fulfillment channel. On an integration: an unexpected disconnect.
eSyncFailure Orders, shipping requests, fulfillments Data failed to sync with the external system
eUnacknowledged Shipping requests Timed out while sending the order for fulfillment
eMissing Orders, shipping requests Required data is missing
eMissingSKU Orders, shipping requests SKU doesn't exist in Pipe17
eInvalidSKU Shipping requests SKU is invalid
eInvalidAddress, eIncompleteAddress Orders, shipping requests Address is invalid or incomplete
eInvalidDate Orders, shipping requests A date is missing, incomplete or in an unrecognized format
eInvalidLocation Shipping requests Invalid fulfillment location or shipping address
eInvalidMethod Shipping requests Invalid shipping method
eShippingMethod Orders A new shipping method was found; check your shipping method mappings
eDuplicate Orders, shipping requests The order already exists
eRouteNotFound Orders, shipping requests No routing rule applies to this order
eOutOfStock, eRouteOutOfStock Orders, shipping requests Not enough stock to fulfill or route the order
eRestock Orders, shipping requests Low inventory
eLow, eLarge Orders, shipping requests A number is below or above the acceptable level
eMismatch Fulfillments, shipping requests A fulfillment doesn't match its shipping request, or a field value doesn't match
eUnfulfillable Fulfillments The fulfillment provider reported quantities it can't ship
ePotentialOverfulfill Shipping requests Shipping request quantities exceed the order (with the strict overfulfill policy)
eDelayed, eLate, eEarly, eToday, eSplit Orders, shipping requests Advisories: fulfillment delayed or ship-by date missed, later than expected, sent earlier than expected, must ship today, order was split
eApprovalRequired Orders, shipping requests The order needs approval
eFraudSuspected Orders, shipping requests Fraud is suspected
eMismatchTax Orders, shipping requests Tax amounts differ
ePaymentRequired Orders The order is blocked until payment
eTransform Orders The order couldn't be transformed
eStuck Orders, shipping requests The order is stuck
eLost Shipping requests The fulfillment application lost the order

Exception Status Lifecycle

  • Active: a new exception starts as active. A record can have only one active exception of a given type from the same integration. When a new one is created, the older one is dismissed, or narrowed to the records the new one doesn't cover.
  • Resolved: the problem was fixed.
  • Dismissed: the exception no longer needs action, or was replaced by a newer one.

To change the status:

  • In the app: on the Exceptions page, select exceptions, click Update status and choose Resolve or Dismiss. Resolve & Sync Source Entity and Dismiss & Sync Source Entity also sync the record the exception is on.
  • Through the API: PUT /exceptions/{ExceptionId} with {"status": "resolved"} or {"status": "dismissed"}.
  • With automation: automation rules can update an exception's status.

Exceptions page with one active exception selected and the Update status menu open


Timeline Data Model

Exceptions, and records such as orders, shipping requests and fulfillments, keep a timeline: a list of entries recording each change. Events don't have a timeline. Timeline entries are kept for 60 days.

Timeline Key Fields

Core Fields

  • timestamp: when the record was created or updated.
  • operation: create or update.
  • status: the record's status after the change.
  • userId: user who made the change.
  • apikeyId: API key used for the change.
  • integrationId: integration that made the change.
  • eventId: event in the event log that made the change.
  • logId: ID of the timeline entry.

Example timeline entry:

{
  "timestamp": "2025-11-04T15:30:00Z",
  "operation": "update",
  "status": "resolved",
  "userId": "user-123",
  "eventId": "evt-456"
}

Relationship Between Events and Exceptions

Events show what happened to each request. Exceptions highlight the problems that need attention.

Causality

A failed request often leads to an exception on the record involved. For example:

  • A shipping request that can't be sent to the 3PL → eGeneric on the shipping request.
  • An order no routing rule applies to → eRouteNotFound.
  • A fulfillment whose lines don't match its shipping request → eMismatch on the fulfillment.
  • A fulfillment that reports rejected quantities → eUnfulfillable.

Reference

  • Events and exceptions are linked through the record they're about: the same entityType and entityId.
  • Timeline entries carry the eventId of the event that made each change.

Event-Entity Relationships

Events point to their record with entityType + entityId. For example:

  • Event → order (entityType: "orders", entityId: "order-123")
  • Event → product (entityType: "products", entityId: "prod-456")
  • Event → shipping request (entityType: "shipments", entityId: "ship-789")

Exception-Entity Relationships

  • Primary record: entityType + entityId.
  • Related record: relatedEntityType + relatedEntityId.
  • Example: an exception on a shipping request has the shipping request as its primary record and the order as its related record.

Resolution

Resolving an exception usually means:

  1. Find the failed event(s) for the record in Events > Logs.
  2. Fix the configuration or data problem.
  3. Rerun the failed event, or sync the record.
  4. Mark the exception as resolved.

Visibility

  • Events: every request, successful and failed.
  • Exceptions: only the problems that need attention.
  • Timeline: change history of exceptions and other records.

API Operations Reference

Event Logs REST API

Operation Method Endpoint Notes
List GET /events Filter with the query parameters below. Request and response bodies aren't returned in lists.
Fetch GET /events/{EventId} One event, with request and response
Create POST /events One custom event per call (source: custom)
Update PUT /events/{EventId} Update status, response, duration, isBatch
Replay POST /events/{EventId}/replay Rerun one event

Common query parameters:

  • Identification: eventId, entityId, entityType, extEntityId
  • Classification: source, direction, operation, integration
  • Status: status (pending, acknowledged, completed, failed)
  • Who: userId, apikeyId, identity (an integration, API key or user ID)
  • Date range: since, until (when the event was triggered)
  • Search: keywords
  • Paging and output: skip, count, order (sort field), keys (fields to return)

Exceptions REST API

Operation Method Endpoint Notes
Create POST /exceptions Requires exceptionType, entityType, entityId
List GET /exceptions Filter with the query parameters below
Fetch GET /exceptions/{ExceptionId} One exception
Update PUT /exceptions/{ExceptionId} Update status (resolve, dismiss), priority, severity, category, recommendation, tags
Delete DELETE /exceptions/{ExceptionId} One exception
Sync POST /exceptions/{ExceptionId}/sync Trigger the exception sync

Common query parameters:

  • Identification: exceptionId, entityId, entityType, extEntityId
  • Related: relatedEntityId, relatedEntityType, extRelatedEntityId
  • Classification: exceptionType, categoryId, exceptionPriority, exceptionSeverity
  • Status: status (active, dismissed, resolved)
  • Search: exceptionDetails (terms in the details of active exceptions)
  • Integration: integration, integrationOwned
  • Date range: since, until, updatedSince, updatedUntil
  • Paging and output: skip, count, order, keys

Practical Applications

Monitoring and Troubleshooting

Events show the flow of data and where and when something went wrong:

  • Track data coming into Pipe17 from external systems (direction: in).
  • Track data going from Pipe17 to external systems (direction: out).
  • Spot slow operations with duration.
  • Read the request and response of a failed call to see the exact error.

Exceptions give a focused list of problems:

  • Active issues that need action, filterable by type, category, priority and severity.
  • Resolve or dismiss them once handled.

Event Search Examples

Failed order creation events since a given time:

GET /events?entityType=orders&operation=create&status=failed&since=2025-11-03T11:00:00Z

All events for one order:

GET /events?entityType=orders&entityId=<orderId>

Webhook events from one integration:

GET /events?source=api-webhook&integration=<integrationId>

Events with a specific keyword:

GET /events?keywords=<keyword>

Outbound shipping request events, newest first:

GET /events?entityType=shipments&direction=out&order=-timestamp

Common Event and Exception Scenarios

Order Processing

  • Order creation event: direction: in, operation: create, entityType: orders. Example: a new order received from your store.
{
  "eventId": "evt-001",
  "source": "api",
  "direction": "in",
  "operation": "create",
  "entityType": "orders",
  "integration": "<integrationId>",
  "status": "completed"
}
  • Routing exceptions: if the order can't be routed:
    • eRouteNotFound: no routing rule applies. Fix: add or adjust a routing rule for this product and location.
    • eRouteOutOfStock: no location has enough stock. Fix: restock or adjust routing rules.

Inventory Management

  • Inventory update events: direction: in, operation: update or sync, entityType: inventory. Example: an inventory sync from a WMS. Inventory events are kept for 15 days.
  • Stock exceptions: eOutOfStock or eRestock (low inventory) on orders and shipping requests. Fix: restock or adjust routing.

Integration Issues

  • Failed call: status: failed. Example: a call to an external system timed out.
{
  "eventId": "evt-002",
  "status": "failed",
  "response": {
    "status": 504,
    "message": "Gateway Timeout"
  }
}
  • Sync exceptions: eSyncFailure. Check the integration's credentials and the external system's status, fix the configuration, then rerun the failed events.
  • Disconnects: eGeneric on the integration when it disconnects unexpectedly. Reconnect the integration, then rerun failed events.

Fulfillment Scenarios

  • Shipping request sent: direction: out, operation: create, entityType: shipments. Example: a shipping request sent to a 3PL.
  • Send failure: eGeneric (or eUnacknowledged for a timeout) on the shipping request. Check the event's response, fix the issue, then resend the shipping request.
  • Fulfillment mismatch: eMismatch on the fulfillment. Compare its lines with the shipping request's lines.
  • Unfulfillable items: eUnfulfillable on a rejected fulfillment. Reroute, recreate or cancel the shipping request.

Quick Reference Tables

Event Status Values

Status Meaning Typical next action
pending Created, not finished yet Wait
acknowledged Sent, success not confirmed yet Wait for confirmation; rerunning can duplicate data
completed Succeeded None; rerunning can duplicate data
failed Failed Check the response, fix the issue, rerun

Event Direction Values

Direction Data flow Examples
in External system → Pipe17 Order from a sales channel, inventory from a WMS, fulfillment from a 3PL
out Pipe17 → external system Shipping request to a 3PL, fulfillment to a sales channel, inventory to a marketplace

Event Source Values

Source Meaning
api A call to the Pipe17 API
api-webhook A webhook call
custom An event created with POST /events

Common Event Operations

Operation Meaning Applies to
create Record created All record types
update Record updated All record types
delete Record deleted All record types
poll Poll an external system for updates Records that integrations poll for
sync Push a record again Orders, shipping requests, fulfillments, products, inventory, arrivals, receipts
acknowledge Acknowledge receipt Fulfillments
replay Rerun an event Events
check Check a record Orders
download, upload Download or upload a label Labels

Exception Status Values

Status Meaning Actions in the app
active Unresolved, needs attention Resolve, Dismiss (optionally with Sync Source Entity)
dismissed No action needed, or replaced by a newer exception View history
resolved Problem fixed View history

Exception Priority and Severity Values

exceptionPriority and exceptionSeverity each take high, medium or low. Use them to sort and filter exceptions, for example to work on high-priority ones first.

Exception Origin Values

Origin Meaning Examples
external Reported by a connected system An error returned by the external system
internal Raised by Pipe17 Routing failure, fulfillment mismatch
unknown Origin not set Older or unclassified exceptions

Need Help?

If you need additional assistance:

  • Use Ask Pippen, our AI agent, located at the top of the platform page.
  • Submit a support request with as much relevant detail as possible. Learn how to submit a request.

We're here to help you succeed with your operations.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.

Have more questions?
Submit a request
Share it, if you like it.