[Docs] Azure Functions Hosting


Azure Functions is a serverless compute service by Microsoft. Find the official documentation here.

This is a companion discussion topic for the original entry at https://www.jovo.tech/docs/hosting/azure-functions


Hi, I am trying to deploy my Jovo App to an azure function. I have followed the instructions described here and have managed to deploy my code as bundle.zip to the azure function I created using the azure cli, however when I try to call the webHook Url via Diagflow I am shown the following error:

[Information] Executing ‘Functions.webhook’ (Reason=‘This function was programmatically called via the host APIs.’, Id=cb8cfb85-1423-40de-9fba-296e644a6645)

2019-05-29T11:40:06.076 [Error] Error -----------------------------------------------------------------

2019-05-29T11:40:06.181 [Error] Code:

2019-05-29T11:40:06.240 [Error] ERR_NO_MATCHING_PLATFORM

2019-05-29T11:40:06.310 [Error] Message:

2019-05-29T11:40:06.419 [Error] Can’t handle request object.

2019-05-29T11:40:06.479 [Error] Stack:

2019-05-29T11:40:06.524 [Error] Error: Can’t handle request object. at App.handle (D:\home\site\wwwroot\node_modules\jovo-core\src\BaseApp.ts:197:23) at process._tickCallback (internal/process/next_tick.js:68:7)

2019-05-29T11:40:06.715 [Error] Module:

2019-05-29T11:40:06.792 [Error] jovo-core

2019-05-29T11:40:06.852 [Error] Hint:

2019-05-29T11:40:06.914 [Error] Please add an integration that handles that type of request.

2019-05-29T11:40:06.992 [Error] ----------------------------------------------------------------------

I am struggling to make much headway into this issue, some help would be really appreciated.



A quick search for the error message on the jovo-framework repo revealed this

// Determines which platform (e.g. Alexa, GoogleAssistant) sent the request. Initialization of abstracted jovo (this) object.

await this.middleware('platform.init')!.run(handleRequest);
			if (!handleRequest.jovo) {
				throw new JovoError(
					`Can't handle request object.`,
					'Please add an integration that handles that type of request.'

It looks like it’s unable to determine whether Alexa or GA sent the request. You can post this on Slack if you want a quicker response.