Search code examples
labelingazure-form-recognizer

How can I fix the "invalid character" error when creating a project in Azure Form Recognizer labeling tool


I'm trying to label data using the Azure Form Recognizer labeling tool.

  1. create Azure account and Form Recognizer resource
  2. download docker image
  3. run local web site
  4. create a project, fill in a project name using plain English string. I get the “SAS token to blob storage” by opening the "Get Shared Access Signature" on my Azure Storage Account, selecting all permissions, and then paste that string into the "Azure blog storage / SAS URI*" field in the tool.
  5. provide my endpoint and key (endpoint url is copied from Azure Portal "quick start" page)
  6. save.

result: cannot create a new project due to “invalid character”.


Solution

  • "invalid character" can be caused by using the blob storage SAS token rather than the blob container SAS token. Try creating and using a SAS token to the blob container in the "Azure blob storage / SAS URI" field.