LobeHub
How to fix a wrong LobeHub API address
The API address is the core setting that connects to AI Code With. The LobeHub New API form hint says it usually should omit /v1, so the value must be https://api.aicodewith.ai with no extra trailing segments.
Start with these checks
The API address is wrong or includes an extra /v1.
- Testing or sending a message fails, or the model list is empty.
- The API address was entered with an extra /v1 suffix
- Open the custom provider in LobeHub Settings → AI Providers
404ECONNREFUSEDtimeout01
Understand how LobeHub builds the request
LobeHub New API handles the path itself. Enter https://api.aicodewith.ai — no /v1 — and nothing after it.
02
Enter the correct API address
In the custom provider settings, pick New API and change the API address to https://api.aicodewith.ai, then save.
- 1Open the custom provider in LobeHub Settings → AI Providers
- 2Select New API in the provider settings
03
Verify the request succeeds
Click Test or send a message after saving; a normal reply means the address is correct. If the model list is empty, see the model-list-empty guide.
- 1Select New API in the provider settings
- 2Enter https://api.aicodewith.ai and remove /v1 plus any extra trailing path
If it is still not fixed
Sources
Reconfigure
Return to the integration center and continue the setup steps.
Return to the related setup stepRelated problems
401 / Invalid API key · Model Not Found / Wrong model ID · Empty model list