Azure Face Liveness API started failing today with error 400 requiring a JSON body, but documentation shows no body parameters—have API requirements changed?

Josh Hidden 0 Reputation points
2025-09-30T03:27:38.1966667+00:00

Our Azure Face Liveness API stopped working today (from 5:59AM AWST). We are now receiving error 400: “Request body must be a JSON object.” The official documentation does not show a request body or body parameters, and our implementation (which has been working without a body) has not changed. Can you confirm if API parameters were changed and connect us with the responsible technical team so we can restore our liveness service?

Documentation reference: https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/tutorials/liveness-quick-link

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
{count} votes

1 answer

Sort by: Most helpful
  1. Josh Hidden 0 Reputation points
    2025-09-30T06:47:56.0266667+00:00

    There were some recent un-documented changes to the current API version. According to the official documentation, a request body has never been required. However, the only way to make the service function now is by adding an empty JSON object ({}) to the request body and including the header Content-Type: application/json, effectively “pretending” a body exists. Hope this helps anyone else.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.