Troubleshooting unified authoring in IBM App Connect or IBM API Connect
With unified authoring, when you create an API flow in IBM® App Connect Enterprise as a Service, the flow is published automatically to a Product in IBM API Connect. When you try to start or stop an API in App Connect Designer, you might encounter an error in App Connect Designer or API Connect.
Before you begin
- Read about how to enable and use unified authoring to create and start an API flow in Creating flows for an API from scratch.
- To use unified authoring to create API flows that you can manage in IBM API Connect, ensure that you meet the following requirements.
- You must have an instance of IBM API Connect Enterprise as a Service in the same region as your IBM App Connect Enterprise as a Service instance. If you have an existing trial instance of App Connect, you can provision an API Connect trial instance in the same region. To provision a trial instance of API Connect Enterprise as a Service from the App Connect home page, click Manage API flows by using IBM API Connect.
- Your API Connect instance must be configured with at least one registered DataPower API Gateway service.
- Your API Connect instance must contain at least one provider organization that you are authorized to access. The provider organization must include a catalog that contains an application with an owning consumer organization and a client ID.
- You must enable unified authoring for your instance. On the Designer tab of
the API flow editor, click the Change API gateway settings icon
, enable unified authoring, then click Save. 
About this task
The following sections describe how to resolve errors that you might find when you start or stop an API in App Connect Designer.
Resolving errors when you start an API in App Connect Designer
About this task
When you create and start an API flow in your App Connect Designer instance, the API is added automatically to a Product. That Product is then published in a Catalog that is provided for a provider organization in API Connect. The Product also becomes visible on the API Connect Developer Portal if a site is enabled for the Catalog.
- The publishing preferences are based on the user who is logged in.
- If you start an API flow without specifying publishing preferences, the API is published to the Default Plan in an auto-generated Product in a Sandbox Catalog in any of your discovered API Connect instances.


- One or more of the target applications in the flow in App Connect Designer might have issues.
- The API can't be published to API Connect because one or more of your specified publishing targets were not discovered.
Procedure
To resolve the issue, complete the following steps.
Resolving errors when you stop an API in App Connect Designer
About this task

- Your login session might be expired.
- The API can't be unpublished (deleted) from your API Connect instance because one or more of your specified publishing targets were not discovered.
Procedure
To resolve the issue, complete the following steps.