[watsonx skill debugging playbook]: 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 project_id/space_id to the foundation model object.

Context: Local invoke works but deployment fails: three scope and config mismatches to check.