新しいAzureモバイルサービスを作成しようとしていますが、カスタムAPIを呼び出すときに、サービスのログに次のエラーが生成されます。モバイルサービスの設定:MS_NotificationHubConnectionStringに無効な設定キーが含まれています。 "entitypath"
An error occurred creating push for user scripts: azure.notificationHubService could not be created. HubName: "servicenamehub" ConnectionString "Endpoint=sb://servicenamehub-ns.servicebus.windows.net/; SharedAccessKeyName=DefaultFullSharedAccessSignature; SharedAccessKey={accesskey};EntityPath=servicenamehub": Error from create-Error: Invalid connection string setting key "entitypath".
API呼び出しを行うときにエラーが発生したように見えます。テーブルを呼び出すときにはエラーが発生していないようです。
MS_NotificationHubConnectionString
は、この接続文字列が格納される場所ですが、サービスハブと共に自動生成され、サービス設定では編集できません。
EntityPathキーは、以前のサービスのMS_NotificationHubConnectionString
には表示されません。モバイルサービスにはJavaScriptのバックエンドがあります。
このエラーを回避する方法、または接続文字列からEntityPathキーを削除する方法を教えてください。
カスタムAPIのコードを共有できますか? –
また、このAzure Mobile ServiceまたはAzure Mobile Appsもありますか? (古典ポータルまたは新ポータル)? –
GETとPOSTの両方で、デフォルトのコードまたはカスタムコードを使用すると起こります。クラシックなモバイルサービスです。 – DotEfekts