Create snippet does not work.

Issue #61 invalid
Didier Amyot created an issue

In my situation, create snippet does not work. After each try, I have the "Authentication required" pop up window even is I have setup oauth correctly.

Possible root cause.

I am not working in a personal repo but in a team repo. The oauth permission required is "Read and modify your snippets" and not "Read and modify team snippets" (which I do not think exists). It looks to me that linky tries to create a snippet in my team workspace and not in my personal workspace.

Possible Solution

Always create the snippet in your personal workspace.

Comments (3)

  1. Daniil Penkin staff

    Hello @didierbehavox,

    Thanks for reaching out.

    Linky creates snippet in the account you authenticate with, so this should be your personal account, not the team account. I believe this is not the cause.

    Are you by any chance running IDE on a Mac? If so, I know one possible issue with macOS Keychain that might cause such behaviour. To confirm this, can you please check your idea.log right after you trigger Create snippet action again, and the popup appears? Is there any error with a message like this: find: An invalid record was encountered. ?

    You can find your IDE log by clicking on Help -> Show Log in Finder:

    last image.png

    Let me know what you find. Thanks!

    Cheers, Daniil

  2. Log in to comment