Skip to content

Commit

Permalink
remaining recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
samvaity committed Jul 7, 2021
1 parent a2d66ee commit 00bed56
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 331 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.azure.core.http.HttpClient;
import com.azure.core.util.polling.SyncPoller;
import org.junit.jupiter.api.AfterAll;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
Expand All @@ -51,7 +50,6 @@
import static com.azure.ai.formrecognizer.models.FormContentType.APPLICATION_PDF;
import static com.azure.ai.formrecognizer.models.FormContentType.IMAGE_JPEG;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;

public class FormRecognizerAsyncClientTest extends FormRecognizerClientTestBase {
Expand Down Expand Up @@ -1823,18 +1821,7 @@ public void businessCardValidLocale(HttpClient httpClient, FormRecognizerService
.setPollInterval(durationTestMode)
.getSyncPoller();

List<RecognizedForm> actualPrebuiltRecognizedForms = syncPoller.getFinalResult();
RecognizedForm actualForm = actualPrebuiltRecognizedForms.get(0);
Assertions.assertEquals("prebuilt:businesscard", actualForm.getFormType());

assertEquals(1, actualPrebuiltRecognizedForms.size());
RecognizedForm businessCardPage1 = actualPrebuiltRecognizedForms.get(0);

assertEquals(1, businessCardPage1.getPageRange().getFirstPageNumber());
assertEquals(1, businessCardPage1.getPageRange().getLastPageNumber());
assertNotNull(businessCardPage1.getPages());

assertEquals(3, businessCardPage1.getFields().size());
validateBusinessCardData(syncPoller.getFinalResult(), false);
}, BUSINESS_CARD_JPG);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,98 +4,98 @@
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "eb86e8f3-9195-4834-8a79-26efea262e98",
"x-ms-client-request-id" : "863aed48-744b-410b-a978-497778ee4c61",
"Content-Type" : "application/json"
},
"Response" : {
"content-length" : "0",
"x-envoy-upstream-service-time" : "480",
"x-envoy-upstream-service-time" : "1114",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "fcc3c136-05e9-4df0-bc92-b4c2090d3226",
"apim-request-id" : "3e48db8e-a08d-4cd3-a2e3-971a827e71a3",
"retry-after" : "0",
"StatusCode" : "201",
"Date" : "Wed, 07 Jul 2021 06:29:50 GMT",
"Location" : "https://shafangfr.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529"
"Date" : "Wed, 07 Jul 2021 17:50:04 GMT",
"Location" : "https://shafangfr.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a"
},
"Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529?includeKeys=true",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a?includeKeys=true",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "6a517040-d50b-4af5-854f-3817b5b58a1b"
"x-ms-client-request-id" : "98e17871-6997-4df1-bcc1-f2eb2bfc413e"
},
"Response" : {
"content-length" : "170",
"x-envoy-upstream-service-time" : "19",
"x-envoy-upstream-service-time" : "23",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "f1e1233a-346a-463b-862f-89837614e477",
"apim-request-id" : "c4dd0c40-9d3b-4f65-90cc-738d384b8453",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"modelInfo\":{\"modelId\":\"a7889a9d-e65e-4049-a006-c1730a1d2529\",\"status\":\"creating\",\"createdDateTime\":\"2021-07-07T06:29:51Z\",\"lastUpdatedDateTime\":\"2021-07-07T06:29:51Z\"}}",
"Date" : "Wed, 07 Jul 2021 06:29:56 GMT",
"Body" : "{\"modelInfo\":{\"modelId\":\"9d72146d-3ee4-4027-a0cc-affbc795f48a\",\"status\":\"creating\",\"createdDateTime\":\"2021-07-07T17:50:04Z\",\"lastUpdatedDateTime\":\"2021-07-07T17:50:04Z\"}}",
"Date" : "Wed, 07 Jul 2021 17:50:10 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529?includeKeys=true",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a?includeKeys=true",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "fb3498e5-513d-4e04-9801-f03321dad194"
"x-ms-client-request-id" : "de9742b0-031e-446e-b93a-9c6ca5249993"
},
"Response" : {
"content-length" : "170",
"x-envoy-upstream-service-time" : "21",
"x-envoy-upstream-service-time" : "22",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "66be56aa-b29f-4660-9075-6d9e9762b86b",
"apim-request-id" : "191dce3b-0684-49fd-bb1c-b6243a0dda7c",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"modelInfo\":{\"modelId\":\"a7889a9d-e65e-4049-a006-c1730a1d2529\",\"status\":\"creating\",\"createdDateTime\":\"2021-07-07T06:29:51Z\",\"lastUpdatedDateTime\":\"2021-07-07T06:29:51Z\"}}",
"Date" : "Wed, 07 Jul 2021 06:30:01 GMT",
"Body" : "{\"modelInfo\":{\"modelId\":\"9d72146d-3ee4-4027-a0cc-affbc795f48a\",\"status\":\"creating\",\"createdDateTime\":\"2021-07-07T17:50:04Z\",\"lastUpdatedDateTime\":\"2021-07-07T17:50:04Z\"}}",
"Date" : "Wed, 07 Jul 2021 17:50:15 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529?includeKeys=true",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a?includeKeys=true",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "7758763b-db19-4497-8a37-f6a2b92a27fd"
"x-ms-client-request-id" : "335db6c7-52da-4d27-a40c-80fa0d16d2be"
},
"Response" : {
"content-length" : "912",
"x-envoy-upstream-service-time" : "32",
"x-envoy-upstream-service-time" : "16",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "f0a6b8f9-02e4-4546-a7b2-f6c9e2fd0a6d",
"apim-request-id" : "caa76020-fa37-49e9-972b-028776b7f184",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"modelInfo\":{\"modelId\":\"a7889a9d-e65e-4049-a006-c1730a1d2529\",\"status\":\"ready\",\"createdDateTime\":\"2021-07-07T06:29:51Z\",\"lastUpdatedDateTime\":\"2021-07-07T06:30:04Z\"},\"keys\":{\"clusters\":{\"0\":[\"Additional Notes:\",\"Address:\",\"Company Name:\",\"Company Phone:\",\"Dated As:\",\"Details\",\"Email:\",\"Hero Limited\",\"Name:\",\"Phone:\",\"Purchase Order\",\"Purchase Order #:\",\"Quantity\",\"SUBTOTAL\",\"Seattle, WA 93849 Phone:\",\"Shipped From\",\"Shipped To\",\"TAX\",\"TOTAL\",\"Total\",\"Unit Price\",\"Vendor Name:\",\"Website:\"]}},\"trainResult\":{\"trainingDocuments\":[{\"documentName\":\"Form_1.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_2.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_3.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_4.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_5.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"}],\"errors\":[]}}",
"Date" : "Wed, 07 Jul 2021 06:30:06 GMT",
"Body" : "{\"modelInfo\":{\"modelId\":\"9d72146d-3ee4-4027-a0cc-affbc795f48a\",\"status\":\"ready\",\"createdDateTime\":\"2021-07-07T17:50:04Z\",\"lastUpdatedDateTime\":\"2021-07-07T17:50:19Z\"},\"keys\":{\"clusters\":{\"0\":[\"Additional Notes:\",\"Address:\",\"Company Name:\",\"Company Phone:\",\"Dated As:\",\"Details\",\"Email:\",\"Hero Limited\",\"Name:\",\"Phone:\",\"Purchase Order\",\"Purchase Order #:\",\"Quantity\",\"SUBTOTAL\",\"Seattle, WA 93849 Phone:\",\"Shipped From\",\"Shipped To\",\"TAX\",\"TOTAL\",\"Total\",\"Unit Price\",\"Vendor Name:\",\"Website:\"]}},\"trainResult\":{\"trainingDocuments\":[{\"documentName\":\"Form_1.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_2.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_3.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_4.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_5.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"}],\"errors\":[]}}",
"Date" : "Wed, 07 Jul 2021 17:50:20 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529?includeKeys=true",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a?includeKeys=true",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "b454570d-62e8-4d20-9d14-47611cb6c0df"
"x-ms-client-request-id" : "5b20e449-a166-4892-a84b-5429de067d7b"
},
"Response" : {
"content-length" : "912",
"x-envoy-upstream-service-time" : "24",
"x-envoy-upstream-service-time" : "27",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "3c53f1f0-6bad-4f26-98e3-8ce3567685f5",
"apim-request-id" : "f50a8588-f8a7-409f-88f5-1f5f913860a1",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"modelInfo\":{\"modelId\":\"a7889a9d-e65e-4049-a006-c1730a1d2529\",\"status\":\"ready\",\"createdDateTime\":\"2021-07-07T06:29:51Z\",\"lastUpdatedDateTime\":\"2021-07-07T06:30:04Z\"},\"keys\":{\"clusters\":{\"0\":[\"Additional Notes:\",\"Address:\",\"Company Name:\",\"Company Phone:\",\"Dated As:\",\"Details\",\"Email:\",\"Hero Limited\",\"Name:\",\"Phone:\",\"Purchase Order\",\"Purchase Order #:\",\"Quantity\",\"SUBTOTAL\",\"Seattle, WA 93849 Phone:\",\"Shipped From\",\"Shipped To\",\"TAX\",\"TOTAL\",\"Total\",\"Unit Price\",\"Vendor Name:\",\"Website:\"]}},\"trainResult\":{\"trainingDocuments\":[{\"documentName\":\"Form_1.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_2.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_3.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_4.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_5.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"}],\"errors\":[]}}",
"Date" : "Wed, 07 Jul 2021 06:30:06 GMT",
"Body" : "{\"modelInfo\":{\"modelId\":\"9d72146d-3ee4-4027-a0cc-affbc795f48a\",\"status\":\"ready\",\"createdDateTime\":\"2021-07-07T17:50:04Z\",\"lastUpdatedDateTime\":\"2021-07-07T17:50:19Z\"},\"keys\":{\"clusters\":{\"0\":[\"Additional Notes:\",\"Address:\",\"Company Name:\",\"Company Phone:\",\"Dated As:\",\"Details\",\"Email:\",\"Hero Limited\",\"Name:\",\"Phone:\",\"Purchase Order\",\"Purchase Order #:\",\"Quantity\",\"SUBTOTAL\",\"Seattle, WA 93849 Phone:\",\"Shipped From\",\"Shipped To\",\"TAX\",\"TOTAL\",\"Total\",\"Unit Price\",\"Vendor Name:\",\"Website:\"]}},\"trainResult\":{\"trainingDocuments\":[{\"documentName\":\"Form_1.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_2.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_3.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_4.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"},{\"documentName\":\"Form_5.jpg\",\"pages\":1,\"errors\":[],\"status\":\"succeeded\"}],\"errors\":[]}}",
"Date" : "Wed, 07 Jul 2021 17:50:21 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
Expand All @@ -104,79 +104,59 @@
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/copyAuthorization",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "3b578076-4ce3-40e3-817d-e5aed7d6bd93"
"x-ms-client-request-id" : "0ce2f8ce-6fab-4c82-a1b0-065651842787"
},
"Response" : {
"content-length" : "140",
"x-envoy-upstream-service-time" : "288",
"x-envoy-upstream-service-time" : "270",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "075ee435-0bb6-4a9b-bcff-8098ae694db8",
"apim-request-id" : "0785949e-34e2-4c8e-88f8-5aa07f3ef536",
"retry-after" : "0",
"StatusCode" : "201",
"Body" : "{\"modelId\":\"165d2ce0-dcf5-44e6-b924-4ed3c0c148aa\",\"accessToken\":\"REDACTED\",\"expirationDateTimeTicks\":1625725806}",
"Date" : "Wed, 07 Jul 2021 06:30:06 GMT",
"Body" : "{\"modelId\":\"20bc11a0-e4db-4d2e-ad78-b47681e9ddea\",\"accessToken\":\"REDACTED\",\"expirationDateTimeTicks\":1625766622}",
"Date" : "Wed, 07 Jul 2021 17:50:21 GMT",
"Content-Type" : "application/json; charset=utf-8",
"Location" : "https://shafangfr.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/165d2ce0-dcf5-44e6-b924-4ed3c0c148aa"
"Location" : "https://shafangfr.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/20bc11a0-e4db-4d2e-ad78-b47681e9ddea"
},
"Exception" : null
}, {
"Method" : "POST",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529/copy",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a/copy",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "65d71ddf-71e9-4c14-8e40-bfc8914739cf",
"x-ms-client-request-id" : "fb9941e4-a565-4fed-a55e-20ac6f6013de",
"Content-Type" : "application/json"
},
"Response" : {
"content-length" : "0",
"x-envoy-upstream-service-time" : "62",
"x-envoy-upstream-service-time" : "204",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "1e2b17df-2126-4ab0-a170-4680f2ff7ae0",
"apim-request-id" : "428fd7f5-dfe6-415f-86cf-7b645f71bc41",
"retry-after" : "0",
"StatusCode" : "202",
"Operation-Location" : "https://shafangfr.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529/copyresults/1eaaa15b-111d-4885-8b76-163faadc2413",
"Date" : "Wed, 07 Jul 2021 06:30:07 GMT"
"Operation-Location" : "https://shafangfr.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a/copyresults/fea74e52-d288-4f7e-bd83-264a556a4598",
"Date" : "Wed, 07 Jul 2021 17:50:22 GMT"
},
"Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529/copyResults/1eaaa15b-111d-4885-8b76-163faadc2413",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/9d72146d-3ee4-4027-a0cc-affbc795f48a/copyResults/fea74e52-d288-4f7e-bd83-264a556a4598",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "6d5a1d0c-ea18-4b10-b8be-2fb404952c6b"
},
"Response" : {
"content-length" : "173",
"x-envoy-upstream-service-time" : "15",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "f40609cb-68ab-40d1-80d5-89e68f361514",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"status\":\"notStarted\",\"createdDateTime\":\"2021-07-07T06:30:07Z\",\"lastUpdatedDateTime\":\"2021-07-07T06:30:07Z\",\"copyResult\":{\"modelId\":\"165d2ce0-dcf5-44e6-b924-4ed3c0c148aa\"}}",
"Date" : "Wed, 07 Jul 2021 06:30:12 GMT",
"Content-Type" : "application/json; charset=utf-8"
},
"Exception" : null
}, {
"Method" : "GET",
"Uri" : "https://REDACTED.cognitiveservices.azure.com/formrecognizer/v2.1/custom/models/a7889a9d-e65e-4049-a006-c1730a1d2529/copyResults/1eaaa15b-111d-4885-8b76-163faadc2413",
"Headers" : {
"User-Agent" : "azsdk-java-azure-ai-formrecognizer/3.1.0 (11.0.9; Windows 10; 10.0)",
"x-ms-client-request-id" : "3426c03a-3335-4a60-a045-0584e40591f8"
"x-ms-client-request-id" : "40cefde4-d2d9-42c2-9bed-dd88cd013779"
},
"Response" : {
"content-length" : "399",
"x-envoy-upstream-service-time" : "20",
"x-envoy-upstream-service-time" : "21",
"Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload",
"x-content-type-options" : "nosniff",
"apim-request-id" : "2a9eb02a-b6ff-41db-88a7-bde0181d8df8",
"apim-request-id" : "ca16d32e-4746-463f-bc9a-ff701948b679",
"retry-after" : "0",
"StatusCode" : "200",
"Body" : "{\"status\":\"failed\",\"createdDateTime\":\"2021-07-07T06:30:13.3973548Z\",\"lastUpdatedDateTime\":\"2021-07-07T06:30:13.3973563Z\",\"copyResult\":{\"modelId\":\"165d2ce0-dcf5-44e6-b924-4ed3c0c148aa\",\"errors\":[{\"code\":\"2024\",\"innerError\":{\"requestId\":\"2a9eb02a-b6ff-41db-88a7-bde0181d8df8\"},\"message\":\"Could not retrieve authorization metadata. If this issue persists use a different target model to copy into.\"}]}}",
"Date" : "Wed, 07 Jul 2021 06:30:17 GMT",
"Body" : "{\"status\":\"failed\",\"createdDateTime\":\"2021-07-07T17:50:26.4259502Z\",\"lastUpdatedDateTime\":\"2021-07-07T17:50:26.4259519Z\",\"copyResult\":{\"modelId\":\"20bc11a0-e4db-4d2e-ad78-b47681e9ddea\",\"errors\":[{\"code\":\"2024\",\"innerError\":{\"requestId\":\"ca16d32e-4746-463f-bc9a-ff701948b679\"},\"message\":\"Could not retrieve authorization metadata. If this issue persists use a different target model to copy into.\"}]}}",
"Date" : "Wed, 07 Jul 2021 17:50:27 GMT",
"Content-Type" : "application/json; charset=utf-8",
"ms-azure-ai-errorcode" : "2024"
},
Expand Down
Loading

0 comments on commit 00bed56

Please sign in to comment.