Help Needed: Prophet 21 Transaction API Error – "Unexpected response window: Dynachange Alert"

Hi everyone,

I’m currently working with the Prophet 21 Transaction API and running into an issue when attempting to submit an order via the Order Entry form. I’m receiving the following error message in the response:

Transaction 1:: General Exception: Unexpected response window: Dynachange Alert. Window class: w_rule_callback_response

This occurs when submitting the following request body (simplified for clarity):

{
  "Name": "Order",
  "Transactions": [
    {
      "Status": "New",
      "DataElements": [
        {
          "Name": "TABPAGE_1.order",
          "Type": "Form",
          "Rows": [
            {
              "Edits": [
                { "Name": "quote", "Value": "ON" },
                { "Name": "taker", "Value": "TAKER" },
                { "Name": "company_id", "Value": "COMPANY" }
              ]
            }
          ]
        },
        {
          "Name": "TP_CUSTOMER.tp_customer",
          "Type": "Form",
          "Rows": [
            {
              "Edits": [
                { "Name": "customer_id", "Value": "11111" }
              ]
            }
          ]
        },
        {
          "Name": "TP_CONTACTS.tp_contacts",
          "Type": "Form",
          "Rows": [
            {
              "Edits": [
                { "Name": "contact_id", "Value": "1111" }
              ]
            }
          ]
        },
        {
          "Name": "TP_ITEMS.items",
          "Type": "List",
          "Rows": [
            {
              "Edits": [
                { "Name": "oe_order_item_id", "Value": "11111111" },
                { "Name": "unit_quantity", "Value": "1.00" }
              ]
            }
          ]
        }
      ]
    }
  ],
  "UseCodeValues": false
}

The response indicates a failure with a message about a “Dynachange Alert” and a window class of w_rule_callback_response.

I’m continuing to troubleshoot this, but if anyone has encountered this error before or has insight into what might be triggering this alert—especially within the context of the Order Entry form—I’d really appreciate your input.

Thanks in advance for your help.

Hi

You’ve probably already considered this but when using the API you’ll want to authenticate as a user that doesn’t have any restrictions or customizations such as dynachanges.