watsonx Orchestrate

 View Only

 watsonx Orchestrate REST API always returning http 500

Piotr Goralewski's profile image
Piotr Goralewski posted Thu October 30, 2025 08:56 AM

Hi,

I am trying to connect my custom UI to wx Orchestrate Agent. I was able to correctly generate access_token (bearer token) using https://iam.cloud.ibm.com/identity/token but whatever call I am doing to the API, I receive the same response: HTTP 500 Internal Server Error with JSON body:

{
    "detail": "An Unexpected Error Occurred."
}
For example, when I am trying to list agents:
curl --location 'https://api.eu-de.watson-orchestrate.cloud.ibm.com/instances/[MY_INSTANCE_ID]/v1/orchestrate/agents' \
--header 'Authorization: Bearer [MY_BEARER_TOKEN]' \
--header 'accept: application/json' \

Any other request ends in HTTP 500 as well...
Am I doing something wrong, or is there some global issue? I tried on two different tenants with two different wx Orchestrate instances, the result was the same...

R J's profile image
R J

Hi,

I was able to run many of Orchestrate REST APIs (except Tools creation where I get 500 error...) with such curl:

curl.exe "https://api.us-south.watson-orchestrate.cloud.ibm.com/instances/[MY_INSTANCE_ID]/v1/orchestrate/agents"
  -H "Accept: application/json"
  -H "Authorization: Bearer [MY_BEARER_TOKEN]"

Tried it a minute ago and it worked fine.