Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
simssons2
Level 7

how do I retrieve "channel_data" from roku cloud

Hi!

I want to retrieve data from roku cloud using "getChannelCred" command.

I have two devices(premiere, stick) linked to the same roku account.

I can retrieve "channel_data" from roku cloud with the device I stored data with.

onGetChannelCred()
{ "channel_data" : "myToken", "error" : null, "roku_pucid" : "the same string", "token_type" : "urn:rokuSmiley Tongueucid:token_typeSmiley Tongueucid_token" }

 

But it's empty when I get with the other device 

onGetChannelCred()
{
    "channel_data" : "",
    "error" : null,
    "roku_pucid" : "the same string",
    "token_type" : "urn:rokuSmiley Tongueucid:token_typeSmiley Tongueucid_token"
}

Why is that? I can get the same "roku_pucid" from both devices.. but no "channel_data"

it doesn't work for sideloaded channel and unpublished channel? 

 

 

@RokuPam 

Thank you in advance!

0 Kudos