If you encounter problems with the API or with the Megaport Terraform solution, step through these troubleshooting actions.
For API tutorials and a step-by-step guide, see Megaport API Overview. For a full reference, including working examples, see https://dev.megaport.com/.
To try out the API, we recommend the Postman client with the imported Megaport Collection; information on downloading and using Postman is in the documentation.
Troubleshooting actions
Common API error messages
Login error
Common causes:
- incorrect username, email, or password
- missing or incorrect token
Syntax error
The error commonly occurs when a required syntax is missing or incorrect.
Incorrect API URL
An example of the error related to an incorrect URL is:
For this scenario, the customer used this URL:
but the correct URL is:
Incorrect parameters
As an example, a customer reported no data output when requesting VXC telemetry for this time range:
- From: GMT: Tuesday, August 3, 2021 1:52:23 PM
- To: GMT: Tuesday, August 3, 2021, 1:57:23 PM
Syntax
Output
From the Get VXC Telemetry docs the From and To parameters must be set in milliseconds for each epoch value (so each value needed extra zeros at the end):
Megaport required data
If the troubleshooting actions do not resolve your issue, contact Megaport Support.
With an API issue, Megaport will investigate and troubleshoot the issue at the back end.
To assist the investigation, provide the results of the tests you performed and any other relevant information, such as:
- Email/account used
- Date, time, and time zone of action and when the error occurred
- API configuration
- API URL
- Body data
- Endpoint parameters and syntax
- Error type and a screenshot of the error
Helpful references
Last modified on August 21, 2026