pdfApi.UploadFile doesn’t works as it is throwing an exception always as “{“Error calling UploadFile: { ““error””: { ““code””: ““resourceNotFound””, ““message””: ““Invalid URL. Please check for correct usage of the domain and version.””, ““description””: ““Operation Failed. Invalid URL.””, }}”}”
Please find my code here
Using file = System.IO.File.OpenRead(sourcePath)
Dim response = pdfApi.UploadFile(“resultFiles.pdf”, file)
End Using
Please let me know what I am missing here