Platform FAQ and troubleshooting guide
This document provides answers to frequently asked questions about ÃÛ¶¹ÊÓƵ Experience Platform, as well as a high-level troubleshooting guide for common errors that may be encountered in any Experience Platform API. For troubleshooting guides on individual Platform services, see the service troubleshooting directory below.
FAQ faq
The following is a list of answers to frequently asked questions about ÃÛ¶¹ÊÓƵ Experience Platform.
What are Experience Platform APIs? what-are-experience-platform-apis
Experience Platform offers multiple RESTful APIs that use HTTP requests to access Platform resources. These Service APIs each expose multiple endpoints, and allow you to perform operations to list (GET), lookup (GET), edit (PUT and/or PATCH), and delete (DELETE) resources. For more information on specific endpoints and operations available for each service, please see the on ÃÛ¶¹ÊÓƵ I/O.
How do I format an API request? how-do-i-format-an-api-request
Request formats vary depending on the Platform API being used. The best way to learn how to structure your API calls is by following along with the examples provided in the documentation for the particular Platform service you are using.
For more information on formating API requests, please visit the Platform API getting started guide reading sample API calls section.
What is my organization? what-is-my-ims-organization
An organization is an an ÃÛ¶¹ÊÓƵ representation of a customer. Any licensed ÃÛ¶¹ÊÓƵ solutions are integrated with this customer organization. When an organization is entitled to Experience Platform, it can assign access to developers. The organization ID (x-gw-ims-org-id
) represents the organization that an API call should be executed for, and is therefore required as a header in all API requests. This ID can be found through the : in the Integrations tab, navigate to the Overview section for any particular integration to find the ID under Client Credentials. For a step-by-step walkthrough of how to authenticate into Platform, see the .
Where can I find my API key? where-can-i-find-my-api-key
An API key is required as a header in all API requests. It can be found through the . Within the console, on the Integrations tab, navigate to the Overview section for a specific integration and you will find the key under Client Credentials. For a step-by-step walkthrough of how to authenticate to Platform, see the .
How do I get an access token? how-do-i-get-an-access-token
Access tokens are required in the Authorization header of all API calls. They can be generated using a CURL command, provided you have access to an integration for an organization. Access tokens are only valid for 24 hours, after which a new token must be generated to continue using the API. For details on generating access tokens, see the .
How do I use query parameters? how-do-i-user-query-parameters
Some Platform API endpoints accept query parameters to locate specific information and filter the results returned in the response. Query parameters are appended to request paths with a question mark (?
) symbol, followed by one or more query parameters using the format paramName=paramValue
. When combining multiple parameters in a single call, you must use an ampersand (&
) to separate individual parameters. The following example demonstrates how a request that uses multiple query parameters is represented in the documentation.
Examples of commonly used query parameters include:
GET /tenant/schemas?orderby=title
GET /datasets?limit=36&start=10
GET /batches?createdAfter=1559775880000&orderBy=desc:created
For detailed information on which query parameters are available for a specific service or endpoint, please review the service-specific documentation.
How do I indicate a JSON field to update in a PATCH request? how-do-i-indicate-a-json-field-to-update-in-a-patch-request
Many PATCH operations in Platform APIs use strings to indicate JSON properties to update. These are typically included in request payloads using format. See the API fundamentals guide for detailed information on required syntax for these technologies.
Can I use Postman to make calls to Platform APIs? how-do-i-use-postman-to-make-calls-to-platform-apis
is a useful tool for visualizing calls to RESTful APIs. The Platform API getting started guide contains a video and instructions for importing Postman collections. Additionally, a list of Postman collections for each service is provided.
What are the system requirements for Platform? what-are-the-system-requirements-for-platform
Depending on whether you are using the UI or API, the following system requirements apply:
For UI based operations:
- A modern, standard web browser. While the latest version of Chrome is recommended, current and previous major releases of Firefox, Internet Explorer, and Safari are also supported.
- Each time a new major version is released, Platform starts supporting the most recent version while support for the third most recent version is dropped.
- All browsers must have cookies and JavaScript enabled.
For API and developer interactions:
- A development environment to develop for REST, streaming, and Webhook integrations.
Errors and troubleshooting errors-and-troubleshooting
The following is a list of errors that you may encounter when using any Experience Platform service. For troubleshooting guides on individual Platform services, see the service troubleshooting directory below.
API status codes api-status-codes
The following status codes may be encountered on any Experience Platform API. Each has a variety of causes, therefore the explanations given in this section are general in nature. For more details regarding specific errors in individual Platform services, please see the service troubleshooting directory below.
A likely cause of this error is that you might not have the required access control permissions to access or edit the resource. Read how to get the necessary attribute-based access control permissions to use Platform APIs.
Request header errors request-header-errors
All API calls in Platform require specific request headers. To see which headers are required for individual services, please see the . To find the values for the required authentication headers, see the . If any of these headers are missing or invalid when making an API call, the following errors may occur.
OAuth token is missing oauth-token-is-missing
{
"error_code": "403010",
"message": "Oauth token is missing."
}
This error message displays when an Authorization
header is missing from an API request. Ensure that the Authorization header is included with a valid access token before trying again.
OAuth token is not valid oauth-token-is-not-valid
{
"error_code": "401013",
"message": "Oauth token is not valid"
}
This error message displays when the provided access token in the Authorization
header is not valid. Ensure that the token has been entered correctly, or in the ÃÛ¶¹ÊÓƵ I/O Console.
API key is required api-key-is-required
{
"error_code": "403000",
"message": "Api Key is required"
}
This error message displays when an API key header (x-api-key
) is missing from an API request. Ensure that the header is included with a valid API key before trying again.
API key is invalid api-key-is-invalid
{
"error_code": "403003",
"message": "Api Key is invalid"
}
This error message displays when the value of the provided API key header (x-api-key
) is invalid. Ensure that you have entered the key correctly before trying again. If you do not know your API key, you can find it in the : in the Integrations tab, navigate to the Overview section for a specific integration to find the API key under Client Credentials.
Missing header missing-header
{
"error_code": "400003",
"message": "Missing header"
}
This error message displays when an organization header (x-gw-ims-org-id
) is missing from an API request. Ensure that the header is included with the ID of your organization before trying again.
Profile is not valid profile-is-not-valid
{
"error_code": "403025",
"message": "Profile is not valid"
}
This error message displays when the user or ÃÛ¶¹ÊÓƵ I/O integration (identified by the access token in the Authorization
header) is not entitled to make calls to Experience Platform APIs for the organization provided in the x-gw-ims-org-id
header. Ensure that you have provided the correct ID for your organization in the header before trying again. If you do not know your organization ID, you can find it in the : in the Integrations tab, navigate to the Overview section for a specific integration to find the ID under Client Credentials.
Refresh etag error refresh-etag-error
{
"errorMessage":"Supplied version=[\\\\\\\"a200a2a3-0000-0200-0000-123178f90000\\\\\\\"] does not match the current version on entity=[\\\\\\\"a200cdb2-0000-0200-0000-456179940000\\\\\\\"]"
}
You may receive an etag error if a change was made on any source or destination entity like flow, connection, source connector, or target connection by another API caller. Due to the version mismatch, the change that you are trying to make would not be applied to the latest version of the entity.
To resolve this, you need to fetch the entity again, make sure that your changes are compatible with new version of the entity, then place the new etag in the If-Match
header, and finally make the API call.
Valid content-type not specified valid-content-type-not-specified
{
"type": "/placeholder/type/uri",
"status": 400,
"title": "BadRequestError",
"detail": "A valid content-type must be specified"
}
This error message displays when a POST, PUT or PATCH request has an invalid or missing Content-Type
header. Ensure that the header is included in the request and that its value is application/json
.
User region is missing user-region-is-missing
{
"error_code": "403027",
"message": "User region is missing"
}
This error message displays in either of the two cases below:
- When an incorrect or malformed organization ID header (
x-gw-ims-org-id
) is passed in an API request. Ensure that the correct ID of your organization is included before trying again. - When your account (as represented by the provided authentication credentials) is not associated with a product profile for Experience Platform. Follow the steps on generating access credentials in the Platform API authentication tutorial to add Platform to your account and update your authentication credentials accordingly.
Service troubleshooting directory service-troubleshooting-directory
The following is a list of troubleshooting guides and API reference documentation for Experience Platform APIs. Each troubleshooting guide provides answers to frequently asked questions and solutions to problems that are specific to individual Platform services. The API reference documents provide a comprehensive guide to all available endpoints for each service, and show sample request bodies, responses, and error codes that you may receive.