> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting a Failure with an Order

> This help topic describes what to do if automation fails to provision a service.

export const Video = ({url, text, duration, description}) => {
  const errorPrefix = '\x1b[31;1;4mERROR\x1b[0m: Video -';
  if (typeof url !== 'string') {
    url = String(url);
  }
  if (typeof text !== 'string') {
    text = String(text);
  }
  if (!url || url === 'undefined') {
    console.error(`${errorPrefix} the \`url\` property is required — rendering an empty string instead`);
    return <></>;
  }
  if (!text || text === 'undefined') {
    console.error(`${errorPrefix} the \`text\` property is required — rendering an empty string instead`);
    return <></>;
  }
  const youtubeIconMask = "url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.7 124.1c-6.3-23.7-24.8-42.3-48.3-48.6C458.8 64 288 64 288 64S117.2 64 74.6 75.5c-23.5 6.3-42 24.9-48.3 48.6-11.4 42.9-11.4 132.3-11.4 132.3s0 89.4 11.4 132.3c6.3 23.7 24.8 41.5 48.3 47.8C117.2 448 288 448 288 448s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232 336V176l142.7 80z'/%3E%3C/svg%3E\")";
  return <div className="video-callout">
      <div className="callout my-4 flex gap-3 overflow-hidden rounded-2xl border px-5 py-4">
        <div className="mt-0.5 w-4 shrink-0" data-component-part="callout-icon">
          <svg aria-hidden="true" className="size-4 shrink-0" style={{
    WebkitMaskImage: youtubeIconMask,
    maskImage: youtubeIconMask,
    WebkitMaskRepeat: 'no-repeat',
    maskRepeat: 'no-repeat',
    WebkitMaskPosition: 'center',
    maskPosition: 'center',
    backgroundColor: '#0284c7'
  }} />
        </div>
        <div className="min-w-0 w-full text-sm" data-component-part="callout-content">
          <strong>
            Video:{' '}
            <a href={url} target="_blank" rel="noopener noreferrer">
              {text}
              <span className="sr-only"> (opens in a new tab)</span>
            </a>
          </strong>
          {}
          {duration && <> ({duration})</>}
          {}
          {description && <p className="mt-1 mb-0 text-xs text-gray-500 dark:text-gray-400">
              {description}
            </p>}
        </div>
      </div>
    </div>;
};

If the provisioning status of a service indicates failed, the service could not be deployed through the Megaport automation process and it is not in the deployment queue.

You can verify service status from the Megaport Portal. On the [Services page](/portal-admin/services-page) in the Portal, find the MVE and mouse over its icon. A message displays the status of the service. The color of the icon also indicates the service status.

Additionally, you can verify the provisioning status through the API. Use this endpoint:

```http theme={"theme":{"light":"github-light-high-contrast","dark":"github-dark-high-contrast"}}
GET {baseUrl}/v2/product/{productUid}
```

The response includes the status of the service in the `provisioningStatus` field.

<Video url="https://youtu.be/rJU3yjCEn-o" text="How to Check the Port Status" duration="1:02" description="This video shows how to check the status of a Port from the Services page in the Megaport Portal, using the port icon color." />

<Video url="https://youtu.be/5Xm8mFD1MBg" text="Troubleshooting VXC Connectivity" duration="12:16" description="This video shows how to check VXC status from the Services page and diagnose connectivity issues between endpoints." />

## Troubleshooting actions

If you are experiencing an automation failure when trying to provision your service, contact support. The Megaport Network Automation team will investigate and resolve the issue.

If you experience an automation failure, we highly recommend not to deploy additional services, as this can result in more automation failures.

## Next steps

Before contacting support for assistance, collect the following information.

* **Error messages** -- Provide any error messages when provisioning your service.
* **What service were you trying to provision?** -- Provide a breakdown of the service and the steps performed before the automation failure.
* **Is there anything unique to the service you are provisioning?** -- If there is any additional relevant information important to the provisioning of your service that will assist Megaport in troubleshooting the failure, provide as much detail as possible.
