question

Brendan Walker avatar image
Brendan Walker asked

Is there a limit to the max number of registered CloudScript Azure functions?,Is there a limit to the number of Registered CloudScript Functions?

We were recently adding a few new CloudScript Function Azure hooks when we noticed the client was getting this error back from CloudAPI::ExecuteFunction() in our UE4 game client for one of our new functions:

"No function named UpdateCharacterAbilityChoice was found to execute"

After verifying that end point was setup correctly in Azure, registered in the PlayFab game console (at https://developer.playfab.com/en-us/r/t/<title_id>/automation/cloud-script/function), and calling the new function directly on Azure via PostMan we weren't sure what else was wrong. As an experiment we deleted another registered function we weren't using anymore on the theory that it was a Function limit. Sure enough, the call to UpdateCharacterAbilityChoice started working. We are currently sitting at 12 registered functions. Is that the Free Tier limit? I haven't been able to find any documentation calling this out as a specific limit.


Thanks!
Brendan Walker

Polyarc | Engineering

,

We were recently adding a few new CloudScript Function Azure hooks when we noticed the client was getting this error back from CloudAPI::ExecuteFunction() in our UE4 game client for one of our new functions:

"No function named UpdateCharacterAbilityChoice was found to execute"

After verifying that end point was setup correctly in Azure, registered in the PlayFab game console (at ), and calling the new function directly on Azure via PostMan we weren't sure what else was wrong. As an experiment we deleted another registered function we weren't using anymore on the theory that it was a Function limit. Sure enough, the call to UpdateCharacterAbilityChoice started working. We are currently sitting at 12 registered functions. Is that the Free Tier limit? I haven't been able to find any documentation calling this out as a specific limit.

Thanks!
Brendan Walker
Polyarc | Engineering

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.

brendan avatar image
brendan answered

No, there isn't a limit, regardless of tier. We can see titles in the service that are running with dozens of registered Azure Functions (offhand, one has 40 registered, all of which have been called with ExecuteFunciton in the last 24 hours). The error "No function named [function name] was found to execute" should only be possible if there's a mis-match in the name, for some reason. If you can get the title back into a state where you're seeing this, can you keep it that way and send us the details?

To be clear, the only difference with the free tier is that it can only have Development Mode titles, which are limited to 100K player accounts. While in Dev Mode, titles can use the core services for free, though multiplayer server hosting and Party are charged at the normal rates once you've used all the free CPU hours/minutes for the month.

10 |1200

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

Brendan Walker avatar image
Brendan Walker answered

Thanks for getting back to us on that! That's good to know there is no limit on that metric. We're going to try and add another CloudFunction and see if that hits the issue again. If so we can post the details.

1 comment
10 |1200

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

Brondon avatar image Brondon commented ·

Good to know for us too

0 Likes 0 ·

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.