BotGem

How to fix a wrong BotGem Base URL

The Base URL is the core setting for connecting to AI Code With. BotGem's OpenAI-compatible provider requires no trailing / slash and needs the /v1 suffix.

Start with these checks

The Base URL is wrong or has a trailing / slash.

  • Check Connection or sending a message fails.
  • The Base URL is missing the /v1 suffix
  • Open BotGem Settings β†’ Service Provider and select the OpenAI API Compatible provider
404ECONNREFUSEDtimeout

01

Understand how BotGem builds requests

BotGem appends OpenAI-compatible paths to the Base URL. Enter https://api.aicodewith.ai/v1 β€” with /v1, no trailing /, and nothing after it.

02

Enter the correct Base URL

In the provider settings, change the Base URL to https://api.aicodewith.ai/v1 and save, making sure to remove the trailing / slash.

  1. 1Open BotGem Settings β†’ Service Provider and select the OpenAI API Compatible provider
  2. 2Enter https://api.aicodewith.ai/v1 (with /v1, no trailing /)

03

Verify the request succeeds

After saving, click Check Connection to test; a successful connection means the address is correct. Then send a message to verify.

  1. 1Enter https://api.aicodewith.ai/v1 (with /v1, no trailing /)
  2. 2Remove any trailing / slash or path from the Base URL

If it is still not fixed

Sources

Reconfigure

Return to the integration center and continue the setup steps.

Return to the related setup step