500 server error i.e. CSRF Error - Need csrf_token in request.

60 views
Skip to first unread message

All

unread,
Jun 14, 2012, 9:09:03 AM6/14/12
to browse...@googlegroups.com
I'm playing around with Browserscope but cannot get it to work. I got everything right I think - got an API, created a test and got a TESTKEY, etc...

I'm posting my data (in the _bTestResults object) to http://www.browserscope.org/user/beacon/myTestKey?callBackFunction and my JS is loading the JS library there (exactly as specified on the Browserscope API page)... however I'm guessing that the loaded JS is making further JS requests - and they are generating a 500 error...

Specifically the internal request to http://www.browserscope.org/beacon/myTestKey is generating "CSRF Error - Need csrf_token in request." 

I might be mistaken but it seems an internal bug? Or am I missing something.

Lindsey Simon

unread,
Jun 14, 2012, 10:57:25 AM6/14/12
to browse...@googlegroups.com
What is the URL to your test?

--
You received this message because you are subscribed to the Google Groups "Browserscope" group.
To view this discussion on the web visit https://groups.google.com/d/msg/browserscope/-/P3tfhqRBQn0J.
To post to this group, send email to browse...@googlegroups.com.
To unsubscribe from this group, send email to browserscope...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/browserscope?hl=en.

All

unread,
Jun 14, 2012, 6:04:05 PM6/14/12
to browse...@googlegroups.com
A simplified example can be found here: http://bit.ly/LplOeQ

And this is basically what happens - http://bit.ly/LXLCiV

Thanks for your help!

Lindsey Simon

unread,
Jun 14, 2012, 6:34:09 PM6/14/12
to browse...@googlegroups.com
One issue may be that you're trying to save floats. Browserscope only accepts integers as test values.

--
You received this message because you are subscribed to the Google Groups "Browserscope" group.
To view this discussion on the web visit https://groups.google.com/d/msg/browserscope/-/9xN9Tc22EAUJ.

All

unread,
Jun 15, 2012, 5:07:00 PM6/15/12
to browse...@googlegroups.com
Thanks - that was exactly it! Works perfectly now :)

Thank you again.
Reply all
Reply to author
Forward
0 new messages