question

Michael Pacchiardi avatar image
Michael Pacchiardi asked

No function named ExecCreateCharacter was found to execute

Hi. We are trying to call an Azure Cloud Script from client. We created a function "ExecCreateCharacter" and the function is registered in playfab. We call it with ClientAPI->ExecuteCloudScript() function.

The call return success, but nothing happen. Result.Error->Message say only "No function named ExecCreateCharacter was found to execute".

Any hint on what is going wrong ?

CloudScript
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Made Wang avatar image
Made Wang answered

Refer to PlayFab CloudScript using Azure Functions Quickstart Guide - PlayFab | Microsoft Docs for how to use it, and Server-Side Cloud Script - Execute Function - REST API (PlayFab CloudScript) | Microsoft Docs to understand this API, you need to add references.

using PlayFab.CloudScriptModels;
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Michael Pacchiardi avatar image
Michael Pacchiardi answered

Nevermind, I found the problem here : https://community.playfab.com/questions/41073/executecloudscript-via-postman-for-azure-functions.html.

Execute function doesn't exist on clientAPI, so I assume it's just impossible ?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.