There should be a call to setAllowUnsignedRequests(true)
in the constructor, right after calling setupOAuth().

   Thanks,
   -joe

On Apr 7, 2:07 pm, Joel Dietz <jdi...@gmail.com> wrote:
> Actually, it's the reverse. The Sandbox RPC works but the Wave Preview RPC
> does not.
>
> This doesn't work:
>
>         setupOAuth(OAUTH_KEY, OAUTH_SECRET, "http://gmodules.com/api/rpc";);
>
> This does:
>
>       setupOAuth(ConsumerKey, ConsumerSecret, 
> "http://sandbox.gmodules.com/api/rpc";);
>
> d3developer.com | twitter.com/fractastical | twitter.com/jdietz
>
>
>
> On Wed, Apr 7, 2010 at 12:58 PM, Joel Dietz <jdi...@gmail.com> wrote:
>
> > The tutorial has this:
>
> > public MyRobot() {
>
> >   myRobot.setupOAuth(CONSUMER_KEY, CONSUMER_SECRET, 
> > "http://sandbox.gmodules.com/api/rpc";);
>
> > }
>
> > Which I assume should be this:
>
> > public MyRobot() {
>
> >   this.setupOAuth(CONSUMER_KEY, CONSUMER_SECRET, 
> > "http://sandbox.gmodules.com/api/rpc";);
>
> > }
>
> > However, when I start my bot get this error:
>
> > Uncaught exception from servlet
> > java.lang.IllegalArgumentException: No consumer key is found for the RPC 
> > server URL:
>
> >    at 
> > com.google.wave.api.AbstractRobot.deserializeEvents(AbstractRobot.java:1018 
> > )
> >    at com.google.wave.api.AbstractRobot.processRpc(AbstractRobot.java:859)
> >    at com.google.wave.api.AbstractRobot.doPost(AbstractRobot.java:584)
>
> > ...
>
> > The verification seemed to work yesterday and I am using the Consumer Key
> > and Consumer Secret I received then.
>
> > Jd
>
> > d3developer.com | twitter.com/fractastical | twitter.com/jdietz |
> > joeldietz.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google Wave API" group.
To post to this group, send email to google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to