Question

I was calling a Notification Hub to push a message on insert script of a table just fine, but all of a sudden when I call:

var azure = require('azure');
var hub = azure.createNotificationHubService('<hub name>', '<connection string>');

I get an error saying:

Error in script '/table/moves.insert.js'. TypeError: Object [object Object] has no method 'createNotificationHubService' at insert (</table/moves.insert.js>:4:21) at </table/moves.insert.js>:1:8 [external code]

Is this an Azure bug or has the method changed?

Was it helpful?

Solution

It was a bug with Azure. I got this response from MSDN forums:

We did recently have some issues with require call of the Azure SDK in Mobile Services. We are in the process of deploying a fix.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top