Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab API authentication failed. Please check your gitlab's token. HTTP status code 401. #122

Open
ka2in opened this issue Aug 12, 2022 · 1 comment

Comments

@ka2in
Copy link

ka2in commented Aug 12, 2022

When I use the the Markdown Preview in Browser, Sublime throws the error message indicated above.

@LuluDavid
Copy link

You need to register a personal access token to Gitlab.com to be able to use the Markdown to HTML facilities.
To do so, go to Gitlab.com, connect to your account, go to your profile, click on Access Tokens panel, create a new token with at least read_api rights & copy the newly created token.
Then, in sublime, go to Preferences -> Package Settings -> Markdown Preview -> Settings & in the right editor, add:

	"gitlab_personal_token":  "<YOUR_TOKEN>"

Then everything should work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants