If your ibm-watsonx-ai Model or ModelInference call fails at construction, check that you passed exactly one of project_id or space_id; one of the two is required, not optional. You can copy the project_id from the Project's Manage tab (Project -> Manage -> General -> Details). Set params as a dict of GenTextParamsMetaNames (call GenParams().get_example_values() to see examples). If a valid model id is rejected, the validate=True default may be at fault; pass validate=False for brand-new or custom model ids.