Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Genesys CLI Profile Flag Issue

    Posted 06-10-2026 06:07

    Has anyone ever come across this problem where no matter what profile name is passed in the command, it is always defaulting to one particular profile? So for example, if I use 

    gc organizations me get -p prod


    It instead runs the command with the dev profile.

    I have had this issue a few times in the past and the only way I have found to resolve it is to reinstall the Genesys CLI and recreate config.toml but seems today that is not even resolving the problem.

    Thanks

    #CLI #PlatformCLI


    #PlatformCLI

    ------------------------------
    Savino Ricci
    Senior Technical Consultant
    ------------------------------


  • 2.  RE: Genesys CLI Profile Flag Issue
    Best Answer

    Posted 06-10-2026 06:39

    Ignore, I found the issue! User error...

    I had OAuth credentials configured in .bashrc 🤦‍♂️



    ------------------------------
    Savino Ricci
    Senior Technical Consultant
    ------------------------------