Legacy Dev Forum Posts

 View Only

Sign Up

CLI unable to locate config.toml

  • 1.  CLI unable to locate config.toml

    Posted 06-05-2025 19:34

    Zockie | 2022-06-16 02:09:34 UTC | #1

    Hey everyone! This'll be my first post here, excited to engage with the forum!

    I'm attempting to wrap up my first session with the CLI but I'm scratching my head at this error:

    The profile named DEFAULT passed can not be located in the config file.MYMACNAME

    I know this is because the cli cannot find the config.toml file that contains my OAuth client credentials.

    Upon install, I can successfully authenticate with an Implicit grant token. In addition, my config.toml is successfully generated by gc profiles new in my home directory: ~/.gc

    I am on MacOS with a fresh installation from homebrew 38.0.0 running go 1.18.3 darwin/arm64

    Am I in the wrong directory? Should I attempt to generate it manually? Pulling at straws.. any help is greatly appreciated!

    Thanks, Caleb


    charlie.conneely | 2022-06-16 09:27:35 UTC | #2

    Hi Zockie. Welcome to forum!

    This problem has been raised before in a previous forum post:

    https://developer.genesys.cloud/forum/t/fail-command-gc/10316

    A potential solution is offered, and there are a few questions asked that might help you find the root cause of the error.

    Please let me know if this helps.

    Kind regards, Charlie


    system | 2022-07-16 09:27:36 UTC | #3

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 15173