Error using Read_Text function with Azure OCR

library(AzureVision)
library(httr)
library(jsonlite)
Endpoint ->
APIKey ->
img_link -> "https://images.app.goo.gl/BHLmtfLJxbwdRo99A"
read_text(endpoint = Endpoint, image = img_link, detect_orientation = TRUE, language = "en" )
i got the following error
Error in UseMethod("call_cognitive_endpoint") : no applicable method for 'call_cognitive_endpoint' applied to an object of class "character"