watsonx.ai deployment fails: project vs space, software spec, and version param
watsonx.ai deployment fails: project vs space, software spec, and version param. deployments need a space, not a project: if inference works but deploy fails, set the default space and re-run. 'Software specification not found' means the base software spec changed: update the config to a current spec. Use when hitting this exact issue with watsonx.ai deployment fails. Not for unrelated errors or different features.
TL;DR
Deployments need a space, not a project: if inference works but deploy fails, set the default space and re-run. 'Software specification not found' means the base software spec changed: update the config to a current spec. REST 400 errors about version mean the version query param is missing or invalid: pin a date like ?version=YYYY-MM-DD that matches your payload. 'No project or space id provided' means you never set the default scope: call set default project or default space, or pass projectid/spaceid to the foundation model object.
Fix
Deployments need a space, not a project: if inference works but deploy fails, set the default space and re-run. 'Software specification not found' means the base software spec changed: update the config to a current spec. Expected: You see the expected output instead of the problem.
REST 400 errors about version mean the version query param is missing or invalid: pin a date like ?version=YYYY-MM-DD that matches your payload. 'No project or space id provided' means you never set the default scope: call set default project or default space, or pass projectid/spaceid to the foundation model object. Expected: You get the expected result; the problem is gone.
When to use
- You are setting up or using this watsonx.ai deployment fails feature.
- The symptom matches: project vs space, software spec, and version param.
When NOT to use
- Unrelated watsonx.ai deployment fails issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.
Compatibility
Reported against watsonx.ai deployment fails.
Variant phrasings
project vs space, software spec, and version param
Why it happens
Local invoke works but deployment fails: three scope and config mismatches to check.
Edge cases
- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.