conductor-oss/conductor · error · Error

Failed to create application

Error message

Failed to create application

What it means

Error "Failed to create application" thrown in conductor-oss/conductor.

Source

Thrown at ui-next/src/shared/createAndDisplayApplication/state/services.ts:27

  context: CreateAndDisplayApplicationMachineContext,
) => {
  const { authHeaders, applicationName } = context;
  try {
    return await fetchWithContext(
      "/applications",
      {},
      {
        method: "POST",
        headers: {
          "Content-Type": "application/json",
          ...authHeaders,
        },
        body: JSON.stringify({ name: applicationName }),
      },
    );
  } catch (error: any) {
    const errorMessage = await getErrorMessage(error);
    throw new Error(errorMessage ?? "Failed to create application");
  }
};

export const fetchForAppDetails = async (
  context: CreateAndDisplayApplicationMachineContext,
): Promise<User> => {
  const { authHeaders, applicationId } = context;
  const path = `/users/app:${applicationId}`;

  const appDetails = await fetchWithContext(
    path,
    {},
    {
      method: "GET",
      headers: {
        "Content-Type": "application/json",
        ...authHeaders,
      },

View on GitHub (pinned to cf7c3e4a8a)

Solutions

  1. Verify the application name is unique and valid; the server rejects duplicate application names.
  2. Check auth headers and that the current user has permission to create applications.
  3. Read the server response body via getErrorMessage for the specific failure reason.

When it happens

Trigger: Thrown at ui-next/src/shared/createAndDisplayApplication/state/services.ts:27 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of conductor-oss/conductor@cf7c3e4a8a (2026-08-14). Data as JSON: /api/errors/a91a38367b27232e. Report an issue: GitHub.