Roku Developer Program

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

RAF errors. Not displaying ads as of midnight 8/8/2019

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Menlo; color: #000000; min-height: 16.0px} span.s1 {font-variant-ligatures: no-common-ligatures}
[RAF] Roku_Ads Framework version 2.0922

[RAF.err] roUrlTransfer.setURL("<?xml version="1.0" encoding="UTF-8"?>
<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast.xsd" version="3.0"/>
") rejected argument - invalid chars? (allowed #:?;@&=+$,/-._!~*'()%[])

[RAF.err] getStringFromUrl("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<VAST xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"vast.xsd\" version=\"3.0\"/>\n"): No URL set!

[RAF.err] getAds(); response error: No URL set!
0 Kudos
3 Replies
SolveLLC
Level 7

Re: RAF errors. Not displaying ads as of midnight 8/8/2019

As of yesterday it appears that RAF was updated to not allow {} to be used in the vast URL. Springserve’s macros require these characters.
0 Kudos
cocotower
Level 9

Re: RAF errors. Not displaying ads as of midnight 8/8/2019

Roku needs a completely new programming team.
0 Kudos
Roku Employee
Roku Employee

Re: RAF errors. Not displaying ads as of midnight 8/8/2019

SolveLLC, example posted indicates that you've tried to do raf.setAdUrl() with xml data instead of URL string. That never worked and couldn't possibly work.

what is new is that better diagnostics were added in recent versions of RAF
(see https://developer.roku.com/docs/develop ... e-notes.md for details)
roURLTranfer does not accept the following chars unecoded in URL: space and "<>\^`{|}
now RAF prints error messages when detecting failure to set url for roURLTransfer (which it uses under the hood)

regarding curly brackets needed by an ad server - if you url-encode them, it will work. i.e. instead of {someMacro} use %7BsomeMacro%7D - that will fire fine from Roku hardware and ad server will understand it just the same
0 Kudos