Skip to main content

OpenAI Error Messages

Every error message the OpenAI integration can surface, grouped by mapping collection flow, with what causes each one and how to resolve it.

Overview

This article catalogs the error messages subscribers or their Managed Integration Service Provider (MiSP) may encounter when running the iPaaS.com OpenAI integration, what causes each one, and what to do about it. Your MiSP is the partner who owns your mappings, configuration, and credentials. Errors appear on the iPaaS.com Dashboard under Integration Monitoring, in the Error Logs.

Every error below carries a stable code in the form OPAI-CATEGORY-NNNN — for example OPAI-AUTH-1001. The code appears at the start of the message in your Error Logs, followed by the message text and a link back to this article. Codes never change once published, so the fastest way to find an entry here is to search this page for the code shown in your logs. A code with three segments, like OPAI-EXTN-1001, comes from the OpenAI integration; a code with two segments, like NFND-1032, comes from the iPaaS.com platform and is documented separately.

Where a message shows a value in braces — for example {action} or {status} — OpenAI, iPaaS.com, or the integration fills in the specific detail at the moment the error is raised. The wording is otherwise exactly what appears in the Error Logs.

Two behaviors that are commonly mistaken for errors are deliberately not listed here, because neither produces a failure a subscriber needs to act on:

  • A rate limit being reached. When OpenAI reports that the request rate has been exceeded, the transfer is rescheduled automatically and resumes once the limit window has passed. Nothing is lost and no action is required.

  • A notification without routing details. An inbound notification that does not carry the details the integration attached to the original request is recorded and skipped without raising an error. This is how notifications generated outside the integration are ignored. See the OpenAI Integration Known Limitations article.

iPaaS.com categorizes errors by families. You can learn more about that categorization at Understanding iPaaS.com API Error Codes.

Supported Flows

  • Connection and Authentication

  • OpenAI API Requests

  • Record Identifiers

  • Add/Update OpenAI Customer FROM iPaaS.com

  • Add/Update OpenAI Product FROM iPaaS.com

  • Add/Update OpenAI Message TO iPaaS.com

  • Unsupported Operations

Error Collection

Connection and Authentication

Connection to OpenAI could not be validated

OPAI-AUTH-1001 - {the validation response returned by OpenAI}

  • Description: Raised when subscription settings are saved and iPaaS.com cannot establish a connection to OpenAI. There is no fixed message text — what follows the code is the reason OpenAI gave, passed through unchanged. When the failure carried no detail at all, a generic fallback is used instead: "Unable to reach OpenAI to validate the connection. Check the API Url and API Key on the subscription, then try again." That fallback usually points at a network-level problem between iPaaS.com and OpenAI rather than a configuration mistake, since a revoked key or a bad address normally produces a specific reason. The connection is not established and no transfers run until it is resolved.

  • Resolution: Confirm the API Url is correct and reachable, and that the API Key is current and has not been revoked in the OpenAI console. Because connection validation needs fewer permissions than enrichment does, a key that validates successfully may still be too restricted to run a transfer — confirm it carries at least Write permission on the Responses capability. See the OpenAI Connections and Settings article. If the generic fallback appears and the settings are correct, check whether OpenAI is reporting a service incident before treating it as a configuration fault.

OpenAI API Requests

These errors are raised by the request layer and can surface in any flow.

OpenAI returned an error response

OPAI-EXTN-1001 - Error calling OpenAI {action}: {response} (Http Code: {status})

  • Description: OpenAI rejected a request or returned an unexpected result. The {action} portion names the operation attempted, {status} is the HTTP status OpenAI returned, and the middle portion is OpenAI's own response, reproduced as received. Common causes are an API key that has been revoked or lacks the required permission, a model name the account cannot access, and a malformed request produced by a ModelInstructions value. On the return leg this also covers attempting to retrieve a response OpenAI no longer holds — enrichment requests are submitted without long-term storage, so a response is retained only briefly after it completes.

  • Resolution: Read the status and OpenAI's message first, as they identify the cause directly. For a permission or authentication status, confirm the API Key on the subscription is current and carries at least Write permission on the Responses capability. For a model-related message, confirm the OpenAI Model setting names a model the account can use. When writing an enriched Product back, note that iPaaS.com requires Sku, Name, Type, TrackingMethod, DefaultPrice and Status, and accepts only Physical or Virtual for Type, Product or Variant for TrackingMethod, and Preorder, Active, Disabled or Discontinued for Status — an instruction that rewrites any of those risks producing a value the write will not accept. If the message indicates a problem inside OpenAI rather than with the request, retry the transfer.

OpenAI could not be reached

OPAI-EXTN-1002 - {the transport error reported by the connection attempt}

  • Description: There is no fixed message text for this case: what follows the code is the transport error reported by the connection attempt, for example a name resolution failure, a connection timeout, or a TLS negotiation failure, and no HTTP status is present. The request never reached OpenAI.

  • Resolution: Confirm the API Url on the subscription is correct. Transport failures are frequently transient, so retry once before treating this as a configuration problem. If it persists, check whether OpenAI is reporting a service incident.

Record Identifiers

Invalid record identifier

OPAI-VALD-1001 - Invalid data passed to {Class}.SetPrimaryKey: {value}

  • Description: A record identifier supplied for a transfer was not in the form the integration expects for that record type. The rejected value is shown at the end of the message. This most often follows a manual sync submitted with a mistyped identifier, or a mapping that produces an identifier in an unexpected format.

  • Resolution: Compare the value shown in the message against the identifier as it appears on the record, and re-submit using the exact form. If the value came from a mapping rather than a manual entry, review the mapping that produces the record identifier for that collection.

Add/Update OpenAI Customer FROM iPaaS.com

Customer destination field id not mapped

OPAI-VALD-1002 - The destination field {{id}} must be present and defined in your FROM iPaaS.com Customer data mappings. Please correct this and try again.

  • Description: The collection has no mapping writing to the Id destination, so the enrichment request has nothing to identify the Customer by. The transfer stops before anything is sent to OpenAI.

  • Resolution: Add a Field mapping on this collection with CustomerNumber as the source and Id as the destination. Any value may be used as the source provided it uniquely identifies the Customer, because the return leg relies on it to match the enriched result back to the right record.

Customer Model Instructions are not valid JSON

OPAI-VALD-1003 - The user defined Model Instructions could not be parsed as valid JSON. Please correct the issue and try again. Error Details: {message}

  • Description: The collection has a ModelInstructions mapping whose value is not valid JSON. That mapping is read as a JSON object of additional request options, so malformed content stops the transfer. The Error Details portion carries the specific parsing complaint.

  • Resolution: Correct the ModelInstructions value so it is a well-formed JSON object, or remove the mapping if no additional request options are needed. The parsing complaint in Error Details identifies where the problem is. ModelInstructions is optional — enrichment works without it.

Add/Update OpenAI Product FROM iPaaS.com

Product destination field id not mapped

OPAI-VALD-1004 - The destination field {{id}} must be present and defined in your FROM iPaaS.com Product data mappings. Please correct this and try again.

  • Description: The collection has no mapping writing to the Id destination, so the enrichment request has nothing to identify the Product by. The transfer stops before anything is sent to OpenAI.

  • Resolution: Add a Field mapping on this collection with Sku as the source and Id as the destination. Any value may be used as the source provided it uniquely identifies the Product, because the return leg relies on it to match the enriched result back to the right record.

Product Model Instructions are not valid JSON

OPAI-VALD-1005 - The user defined Model Instructions could not be parsed as valid JSON. Please correct the issue and try again. Error Details: {message}

  • Description: The collection has a ModelInstructions mapping whose value is not valid JSON. That mapping is read as a JSON object of additional request options, so malformed content stops the transfer. The Error Details portion carries the specific parsing complaint.

  • Resolution: Correct the ModelInstructions value so it is a well-formed JSON object, or remove the mapping if no additional request options are needed. ModelInstructions is optional — enrichment works without it.

Add/Update OpenAI Message TO iPaaS.com

Prerequisite transfer failed

OPAI-INTL-1001 - Error during prerequisite action for MESSAGE during proper hook creation. This will prevent further processing of the transfer request.

  • Description: The inbound notification was received and its routing details were read, but the Customer or Product transfer it dispatched did not complete. Because that dispatch is a prerequisite, the Message transfer stops as well and the enrichment is not applied. The underlying failure is logged separately and is usually the more useful entry to read.

  • Resolution: Look for the accompanying error on the Customer or Product flow and resolve that — this message reports that a dependent transfer failed, not what went wrong inside it. Confirm the target collection is enabled, then re-submit the record for enrichment. Note that re-running the notification alone is not usually possible, because the response it points at is retained only briefly.

Unsupported Operations

Several operations are deliberately not implemented in this integration. When one of them is invoked — usually because a mapping collection or a subscription event was configured to attempt it — the attempt fails with the code below. These are configuration errors rather than faults, and the fix is always to stop the operation being attempted rather than to retry it.

Deleting a customer record is not supported

OPAI-BIZL-1001 - Deleting an OpenAI customer record from iPaaS.com is not supported.

  • Description: The integration sends Customer records to OpenAI for enrichment and reads the results back, but never deletes anything in OpenAI, so a delete attempt fails.

  • Resolution: Confirm no delete event is enabled against the Customer collections. Enrichment requests are not stored records that need removing.

Polling for customer changes is not supported

OPAI-BIZL-1002 - Polling OpenAI for customer changes is not supported. Customer records are captured when a transfer is requested, not by polling.

  • Description: The Update OpenAI Customer TO iPaaS.com flow returns an enrichment result when one is requested; it does not poll OpenAI for changes on a schedule.

  • Resolution: Confirm no polling schedule is configured against the Customer TO iPaaS.com collection. Enriched Customers arrive through the return leg of a request you initiated.

Creating a message is not supported

OPAI-BIZL-1003 - Creating an OpenAI message from iPaaS.com is not supported. Messages originate in OpenAI.

  • Description: Messages represent notifications OpenAI sends back to iPaaS.com. Creating one from iPaaS.com is not implemented, so the attempt fails.

  • Resolution: Confirm the Message collection is configured TO iPaaS.com only, and that no create event is enabled against it.

Updating a message is not supported

OPAI-BIZL-1004 - Updating an OpenAI message from iPaaS.com is not supported. Messages originate in OpenAI.

  • Description: Writing message values back to OpenAI is not implemented, so the attempt fails and no OpenAI call is made.

  • Resolution: Confirm the Message collection is configured TO iPaaS.com only, and that no update event is enabled against it.

Deleting a message is not supported

OPAI-BIZL-1005 - Deleting an OpenAI message from iPaaS.com is not supported. Messages originate in OpenAI.

  • Description: Deleting a message in OpenAI from iPaaS.com is not implemented, so the attempt fails and nothing is removed in OpenAI.

  • Resolution: Confirm no delete event is enabled against the Message collection. Deleting the record in iPaaS.com removes only the iPaaS.com record.

Polling for new messages is not supported

OPAI-BIZL-1006 - Polling OpenAI for new messages is not supported. Messages reach iPaaS.com through the message hook rather than by polling.

  • Description: Messages arrive as inbound notifications through the hook the integration registers, not by iPaaS.com asking OpenAI for new items on a schedule.

  • Resolution: Confirm no polling schedule is configured against the Message collection. If messages are not arriving, the hook registration is the thing to check — see OPAI-INTL-1001 above.

Deleting a product record is not supported

OPAI-BIZL-1007 - Deleting an OpenAI product record from iPaaS.com is not supported.

  • Description: The integration sends Product records to OpenAI for enrichment and reads the results back, but never deletes anything in OpenAI, so a delete attempt fails.

  • Resolution: Confirm no delete event is enabled against the Product collections. Enrichment requests are not stored records that need removing.

Polling for product changes is not supported

OPAI-BIZL-1008 - Polling OpenAI for product changes is not supported. Product records are captured when a transfer is requested, not by polling.

  • Description: The Add/Update OpenAI Product TO iPaaS.com flow returns an enrichment result when one is requested; it does not poll OpenAI for changes on a schedule.

  • Resolution: Confirm no polling schedule is configured against the Product TO iPaaS.com collection. Enriched Products arrive through the return leg of a request you initiated.

Getting Further Help

If a message in the Error Logs is not listed here, or the resolution above does not clear it, contact iPaaS.com Support at support@ipaas.com. Include the subscription name, the error code, the mapping collection involved, the full text of the message from the Error Logs, and the time the error occurred, so the run can be traced.

Related Documents

Did this answer your question?