API call to Form Recognizer end point errors "Internal: Unexpected error The underlying connection was closed"

Archana Mutt 1 Reputation point
2021-11-01T15:50:20.58+00:00

I am trying to hit form recognizer end point and seeing the below error
"Internal: Unexpected error The underlying connection was closed"

Azure AI Document Intelligence
{count} votes

2 answers

Sort by: Most helpful
  1. Archana Mutt 1 Reputation point
    2021-11-02T09:44:02.153+00:00

    I am using Form recognizer skill from BluePrism VBO

    0 comments No comments

  2. GiftA-MSFT 11,176 Reputation points Moderator
    2021-11-02T20:50:13.417+00:00

    This could be a TLS version issue. Can you add the following line of code as suggested here?

    System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;  
    
    0 comments No comments

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.