Phabricator - arcanist API Tokens [Code Review]

Hi,

I tried to setup a Phabricator account using API tokens, but the arcanist is not accepting the API tokens generated in reviews.llvm.org.

arc install-certificate

CONNECT Connecting to “https://reviews.llvm.org/api/”…

LOGIN TO PHABRICATOR

Open this page in your browser and login to Phabricator if necessary:

https://reviews.llvm.org/conduit/login/

Then paste the API Token on that page below.

Paste API Token from that page: api-

Usage Exception: The token "api- " is not formatted correctly. Valid API tokens should begin “cli-” and be 32 characters long. Make sure you visited the correct URI and copy/pasted the token correctly.

How to rectify this error and connect arcanist with phabricator?

Thanks

Mehdi (you’re doing some Phab maintenance, right?) - any ideas on this?

Hi,

I’d expect the token to start with cli- not api-.
On https://reviews.llvm.org/conduit/login/ it should look like: