Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Testing and Deployment

New Developer
Posts: 40
Registered: ‎07-22-2012
My Device: bb10
My Carrier: china mobile
Accepted Solution

Error: Illegal device PIN when create debug_token.bar

[ Edited ]

after successfully registered 2 csj files with server.


I follow the instruction at:


blackberry-debugtokenrequest -storepass <KeystorePassword> 
    -devicepin <device PIN> <debug_token_file_name.bar>

it always reported
Error: Illegal device PIN 

device PIN is the pin when I use to unlock development mode,  I use it on device without any problem

Welcome any comment
Posts: 1,524
Registered: ‎12-18-2012
My Device: Z30, Z10 LE, DevAlpha C, PlayBook

Re: Error: Illegal device PIN when create debug_token.bar

Are you using the PIN from Settings -> About -> Hardware -> PIN?

Andrey Fidrya, @zmeyc on twitter