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
Highlighted
Developer
Posts: 27
Registered: ‎06-17-2013
My Device: Z10
My Carrier: Bell
Accepted Solution

command line to create debug token has problem with the bbidtoken

Hello,

 

I tried to use the BB ID token to generate the debug token.  By following the instruction of the command line, I got an error.

 

blackberry-debugtokenrequest -bbidtoken bbidtoken.csk -storepass mypassword -deviceid 12345678 dt.bar

 

Error: Only RDK or PBDT Signatures are allowed when using BBIDToken

 

The BB id token should be correct because I can use it to sign an app.  Also I can generate the debug token from Momentics.  I believe momentics also call blackberry-debugtokenrequest internally, but don't know what are its secret parameters.

 

Thanks in advance for any help.

 

Tyler

BlackBerry Development Advisor
Posts: 15,727
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: command line to create debug token has problem with the bbidtoken

Try without the -bbidtoken bbidtoken.csk parameter.

 

Also, make sure you are using blackberry-debugtokenrequest from the 10.2 Gold SDK.  Previous versions do not support BlackBerry ID Tokens.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Developer
Posts: 27
Registered: ‎06-17-2013
My Device: Z10
My Carrier: Bell

Re: command line to create debug token has problem with the bbidtoken

It works now without the -bbidtoken parameter.

 

The instruction from the executable misled me, it shows

 

blackberry-debugtokenrequest version 3.0.9
Copyright (C) 2010-2013 BlackBerry Limited

This application requests debug tokens from BlackBerry.

Usage:
blackberry-debugtokenrequest -bbidtoken <bbid-csk-file> -storepass <password> -deviceid <device-id> <debug-token-bar-file>

 

Thanks.