Unable to use new API for Document Intelligence
I am trying out the code in this link with a valid key and endpoint Layout model sample code, but I am getting an error message. I am unable to understand what is the reason for this error as I am using the sample document in the sample code to test it out. When I try the same with a previous version as shown in Another sample code but with GA API
it seems to work fine. But the features I want to use are available in the new preview API. Please let me know how I can resolve this error.
Inner error: {
"code": "ParameterMissing",
"message": "The parameter urlSource or base64Source is required."
}