Hello.
I'm trying to make a call to an Azure Function using the 'actions-rules' functionality.
[FunctionName("SendPushNotification")] public static async Task<dynamic> SendPushNotification( [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequestMessage req, ILogger log) { var context = await FunctionPlayerPlayStreamContext<dynamic>.Create(req); return new { result = "Success!!" }; }
However, I am getting the following error in FunctionPlayerPlayStreamContext.
Invalid cast from 'System.String' to 'System.Nullable`1[[PlayFab.ServerModels.LoginIdentityProvider, PlayFabAllSDK, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]'.
How can I resolve this error?
Thanks.