usebruno/bruno · error · Error

Endpoint Base URL is not configured

Error message

Endpoint Base URL is not configured

What it means

Error "Endpoint Base URL is not configured" thrown in usebruno/bruno.

Source

Thrown at packages/bruno-electron/src/ipc/ai/providers.js:269

  }
  return out;
};

const isKnownProviderId = (providerId, aiPreferences) => {
  if (PROVIDERS[providerId]) return true;
  const endpointId = endpointIdFromProviderId(providerId);
  if (!endpointId) return false;
  return Boolean(getCompatEndpoint(aiPreferences, endpointId));
};

const validateApiKeyForProvider = async ({ providerId, apiKey, aiPreferences }) => {
  if (PROVIDERS[providerId]) {
    return PROVIDERS[providerId].validateApiKey({ apiKey });
  }
  const endpointId = endpointIdFromProviderId(providerId);
  const endpoint = endpointId ? getCompatEndpoint(aiPreferences, endpointId) : null;
  if (!endpoint?.baseURL) {
    throw new Error('Endpoint Base URL is not configured');
  }
  const url = `${endpoint.baseURL.replace(/\/$/, '')}/models`;
  return fetch(url, {
    headers: apiKey ? { Authorization: `Bearer ${apiKey}` } : {},
    signal: AbortSignal.timeout(10000)
  });
};

module.exports = {
  PROVIDERS,
  MODEL_DEFINITIONS,
  OPENAI_COMPATIBLE_PREFIX,
  listProviders,
  listModels,
  getModel,
  getAvailableModels,
  clearSdkCache,
  isOpenAiCompatibleProviderId,

View on GitHub (pinned to 9bdd81c7bd)

Solutions

  1. Configure the endpoint Base URL in Preferences > AI for the selected provider.

When it happens

Trigger: Thrown at packages/bruno-electron/src/ipc/ai/providers.js:269 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of usebruno/bruno@9bdd81c7bd (2026-08-13). Data as JSON: /api/errors/c6fee4c7c91fb036. Report an issue: GitHub.