watsonx Orchestrate

watsonx Orchestrate

Connect with experts and peers to elevate technical expertise, solve problems and share insights.

 View Only
  • 1.  Error in my first agent on wx.o ADK and Developer Edition - Failed to exchange API key - No scheme supplied

    Posted 25 days ago

    dear all

    I have successfully installed orchestrate ADK and also Developer Edition.

    I created a new agent via yaml and imported it. 

    Trying the chat (orchestrate chat start) of Developer Edition I get thi

    I have encountered an error. Please try again. (Error: Failed to exchange API key / credentials for token: Invalid URL '': No scheme supplied. Perhaps you meant https://?)

    could you help me?

    regards

    Maurizio



    ------------------------------
    Maurizio Caronni
    Senior Project Manager
    Beta 80
    Milano
    3357256907
    ------------------------------


  • 2.  RE: Error in my first agent on wx.o ADK and Developer Edition - Failed to exchange API key - No scheme supplied

    Posted 14 days ago

    Hi Maurizio,

    This error usually appears when the Developer Edition cannot find a valid URL scheme (https://) in one of the required configuration values.
    In other words, somewhere in your agent's configuration the URL is empty, or it starts with something like " /" instead of "https://".



    ------------------------------
    Denitsa Draganova
    ------------------------------



  • 3.  RE: Error in my first agent on wx.o ADK and Developer Edition - Failed to exchange API key - No scheme supplied

    Posted 8 days ago

    In addition of what was mentioned by Denitsa, check out your .env if there is something like:

    ORCHESTRATE_INSTANCE_URL=https://api.dl.watson-orchestrate.ibm.com/instances/2025...
    ORCHESTRATE_API_KEY=<API Key>
    ORCHESTRATE_ENV_NAME=<env name>

    WO_DEVELOPER_EDITION_SOURCE=orchestrate
    WO_INSTANCE=https://api.dl.watson-orchestrate.ibm.com/instances/2025.... 
    WO_API_KEY=<API Key>

    And before you use "orchestrate chat start", you should run something like:

    set -a
    source .env 2>/dev/null || true
    set +a


    ------------------------------
    Sergio Gama
    Sr Data & AI Architect
    TD Synnex
    São Paulo
    +55 11 94581-7571
    ------------------------------



  • 4.  RE: Error in my first agent on wx.o ADK and Developer Edition - Failed to exchange API key - No scheme supplied

    Posted 2 days ago

    dear all

    I solved the problem setting these parameters correctly:

    WO_DEVELOPER_EDITION_SOURCE=orchestrate
    WO_API_KEY=**********************************
    USE_SAAS_ML_TOOLS_RUNTINME
    thanks to everybody for the support
    Bye Maurizio


    ------------------------------
    Maurizio Caronni
    Senior Project Manager
    Beta 80
    Milano
    3357256907
    ------------------------------