[llvm-dev] Phabricator - arcanist API Tokens [Code Review]

Mehdi AMINI via llvm-dev llvm-dev at lists.llvm.org
Mon Dec 7 13:15:50 PST 2020


Hi,

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

[image: Screen Shot 2020-12-07 at 1.14.32 PM.png]

-- 
Mehdi


On Mon, Dec 7, 2020 at 10:58 AM David Blaikie <dblaikie at gmail.com> wrote:

> Mehdi (you're doing some Phab maintenance, right?) - any ideas on this?
>
> On Wed, Nov 25, 2020 at 9:43 AM Velliengiri, Praveen via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
>> [AMD Official Use Only - Internal Distribution Only]
>>
>> 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-<some random characters>
>>
>> Usage Exception: The token "api-<some random characters> " 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
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201207/3b847721/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2020-12-07 at 1.14.32 PM.png
Type: image/png
Size: 90698 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201207/3b847721/attachment-0001.png>


More information about the llvm-dev mailing list