CLI unable to locate config.toml

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

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

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