I would like to send different responses from my Azure Function to the client via PlayFab, but everything seems to be lost. A 404 and 414 errors, for example, getsreturned as just a 400 error. 301 redirects are also just 400 errors.
I've looked around it seems to be suggested as a workaround to just send a OK response with a JSON body that contains an error message. Client-side folks are not happy, to say the least.
Is there not a better way? Can I not send proper HTTP error codes in CloudScript?