Try to create a first profile with algolia profile add
Set a Name: blabla
Input Application ID and Admin API Key
Select Yes in Set as default profile? Yes
Result:
profile 'blabla' not found
Expected Result:
profile 'blabla' created and set as default
Interestingly the profile is still created. But as the error message is misleading, I tried to create it again under a different name and then got the message: X Sorry, your reply was invalid: application ID '********' already exists in profile 'blabla'
Steps to reproduce:
algolia profile add
Name: blabla
Set as default profile? Yes
Result: profile 'blabla' not found
Expected Result: profile 'blabla' created and set as default
Interestingly the profile is still created. But as the error message is misleading, I tried to create it again under a different name and then got the message:
X Sorry, your reply was invalid: application ID '********' already exists in profile 'blabla'
Error message is triggered there in the config.go file