question

Marcel Ernst avatar image
Marcel Ernst asked

Regular CloudScriptAzureFunctionsHTTPRequestError

Hi,

we are seeing regular CloudScriptAzureFunctionsHTTPRequestError in the API Calls in the title overview, but no errors in the Azure Functions. I assume these errors are caused by cold starts of the Azure Functions. Is there any way to setup retries in case of cold starts?

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.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

Since the CloudScriptAzureFunctionsHTTPRequestError can be caused by different reasons, could you please provide the full error message and your AzureFunction code for us to test? And have you debugged your AzureFunction locally to see if the code is working fine? You can refer to Local debugging for Cloudscript using Azure Functions - PlayFab | Microsoft Learn. Also currently, PlayFab doesn’t provide such feature to setup retries in case of cold starts, you may need to manually re-call the ExecuteFunction API.

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.

Marcel Ernst avatar image Marcel Ernst commented ·

Sorry for bothering you, it was caused by an async method, which wasn't awaited and only crashed for new users, thanks anyway.

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.