IBM Cloud Docs
Why does my service binding to a Db2 Enterprise instance fail?

Why does my service binding to a Db2 Enterprise instance fail?

You cannot create a Code Engine service binding with a Db2 Enterprise service instance when you use the CLI or API. You receive a failed error message.

Db2 Enterprise does not support the IBM writer role that is used by default for Code Engine service bindings.

Try one of these solutions.

  1. If you are using the CLI to create the service binding with the Db2 Enterprise service instance to your Code Engine app or job, use the --role Manager option when you run the ibmcloud ce application bind command or the ibmcloud ce job bind command.

  2. Use the console to create the service binding with the Db2 Enterprise service instance to your Code Engine app or job, and specify the role of Manager.