question

choi dong geun avatar image
choi dong geun asked

Regarding error handling in azure function

Hi.

I'm using playfab's new cloud function.
I have a question about error handling.
On the server.
return new BadRequestObjectResult(new {
message = "test"
});
I took care of it like this.
I want to get a "test" message from the client.
The results are like this.

What's the reason?

error.png (13.4 KiB)
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

·
Made Wang avatar image
Made Wang answered

From the error message, it is an error when calling Azure Function Cloud Script, and your Azure Function Cloud Script is not executed.

Can you provide the code of your calling function and the code of Azure Function Cloud Script for us to further investigate?

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.