Welcome!

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

Reply
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:

https://developer.blackberry.com/html5/documentation/runnning_unsigned_apps_using_a_debug_token_1866...

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


it always reported
Error: Illegal device PIN 

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

Welcome any comment
Developer
Posts: 1,523
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