You need to sign in to do that
Don't have an account?
Patrick C Mayer 91
Error with Streaming API
I have followed the tutorial linked below for "Receiving Notifications in a Visualforce Page" numerous times and copy/pasted the code verbatim, but I get the same two errors every time.
https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_Streaming_API
These are the error logs in google chromes JavaScript Console.
Refused to set unsafe header "User-Agent" StreamingPage:1
Uncaught TypeError: Cannot read property 'replace' of undefined StreamingPage:35
Not really sure what to do especially since StreamingPage is only 33 lines long.
https://developer.salesforce.com/page/Getting_Started_with_the_Force.com_Streaming_API
These are the error logs in google chromes JavaScript Console.
Refused to set unsafe header "User-Agent" StreamingPage:1
Uncaught TypeError: Cannot read property 'replace' of undefined StreamingPage:35
Not really sure what to do especially since StreamingPage is only 33 lines long.
This was a known issue with Google Chrome 31, I would request you to please update Google Chrome and try again.
More information can be found at following link :
https://success.salesforce.com/issues_view?id=a1p30000000T1LRAA0
Thanks,
Amit Bhardwaj