Share via

Error deploying Azure Cognitive Services: "Error: Value cannot be null. (Parameter 'serviceUri')"

Kenzie Mihardja 0 Reputation points
2023-09-28T21:37:25.8533333+00:00

I'm deploying Azure OCR to a kubernetes cluster but am receiving this error

Using API key for authentication.

Using '/share' for shared mounts.

Logging to console.

Submitting metering to 'my-endpoint-url'.

Is hosting: False

Build information: Computer Vision Read cv-3-2 2022-04-30 20230810.3-45137864819880efa776ebbf1d04171f04f33733

Logging to console.

Error: Value cannot be null. (Parameter 'serviceUri')

It is unclear to me what this serviceUri is supposed to be or where it is supposed to be set. I checked that ApiKey, Billing, and InstrumentationKey are set as environment variables correctly.

Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


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.