When a Flowise OpenAI Custom Model node saves but its runs fail, the cause is nearly always one of three settings: a Base Path with the wrong path on it, a credential the node never received, or a Model Name that matches no catalog entry. This page is the troubleshooting companion to the Flowise setup guide, which has the working flow; here the job is reading the failure and tracing it to the setting at fault. The base is https://api.uplinkswitch.com/v1.
Start from the Base Path
The most frequent fault is a Base Path that already carries the route. The node wants the gateway root ending at /v1, because the OpenAI client underneath Flowise appends /chat/completions on its own. Paste the full route into the field and every call goes to a doubled path; the gateway answers that with a 404 whose code is route_not_found, which reads like a missing model at a glance but is really a malformed URL. Trim the field back so it stops at /v1. A trailing slash after /v1 is harmless; a stray space copied in with the value is not, so clear it before you look anywhere else.
A 401 is the credential, not the endpoint
A 401 with the code invalid_api_key means the request reached the gateway and the key did not pass. The message in the body tells the two common cases apart: No API key was sent. means the node went out with no key at all, and The API key is not valid. means a value arrived but is mistyped, revoked or from another vendor. Flowise keeps keys in its own credential store rather than inside the node, so a node imported from an exported flow, or rebuilt on a second instance, can reference a credential that was never filled in there. Open the credential the node points to, paste a current sk-uplink-live-... key, and save.
A key whose allowlist leaves out the model still authenticates; that case comes back as a 403 scope_denied, never as a 401.
A 404 with model_not_found is the Model Name
Once the path and the key are right, a 404 whose code is model_not_found points at the Model Name field. The value must be a catalog id spelled exactly, with nothing in front of it, so openai/gpt-6.1-sol misses where gpt-6.1-sol lands. Read the ids from the keyless catalog:
curl https://api.uplinkswitch.com/v1/catalogIf an id that ran last week begins failing, look at its availability in that response before you touch the flow. On the 2026-11-23 catalog gpt-6.1-sol read ok and claude-sonnet-5-5 read ok; an id flagged degraded is a reason to switch the Model Name to a sibling, not to rebuild the wiring.
Prove the key outside Flowise
When you cannot tell whether the node or the key is at fault, send one request that uses only the base and the key:
curl https://api.uplinkswitch.com/v1/chat/completions \
-H "Authorization: Bearer sk-uplink-live-..." \
-H "Content-Type: application/json" \
-d '{"model": "gpt-6.1-sol", "messages": [{"role": "user", "content": "ping"}]}'This is a real model call and is billed like one, so keep the prompt tiny. A 200 clears the key and the id, which leaves the node's Base Path or its attached credential as the suspect. A 401 or 404 here reproduces the fault with the flow out of the way.
| Status and code | Setting at fault |
|---|---|
404 route_not_found | Base Path carries a route after /v1 |
401 invalid_api_key | The Flowise credential is empty or wrong |
403 scope_denied | The key's allowlist leaves out this model |
404 model_not_found | Model Name is not a catalog id |
| 402 | The balance or the key's budget is spent |