Issue with Face API Octet Stream Input

Prasanna Gudaparti 5 Reputation points

Hi team,


Please see the issue details below:


Summary: Issue with Face API Octet Stream Input

Issue Type: Technical

Subscription: Microsoft Azure Enterprise

Service Type: Cognitive Services

Resource: IA007FaceAPI

Problem Type: API Errors and Exceptions for Face detection

Problem Subtype: HTTP 400 Invalid Request


Testing link:


Parameter details:

 User's image

I provided the base 64 data present in this attachment bytes2.txt in the request body in various formats as shown below:

  1. “binarydatastring”
  2. [binarydatastring]
  3. [“binarydatastring”]
  4. “{binarydatastring}”


This is the sample format provided on Microsoft documentation:


"{Image binary in base 64 format}"


This is the format provided on the dev API website: User's image


I’m receiving the following error: 400 Invalid Request

User's image

Can you please assign a technical support person that could assist me with this issue? 

Please reach out to me if you have any questions/concerns.


Kind regards,


Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
147 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,216 questions
{count} votes