I cannot Export a CLU project with API

PieroFida 0 Reputation points
2023-09-30T08:05:44.0333333+00:00

Hello,

My problem is that when I try to export a CLU Project by API I get following response:

{"error":{"code":"404","message": "Resource not found"}}

but if I query a Project with the same HttpClient I get the correct response (so, project is there):

{"createdDateTime":"2023-08-27T12:01:00Z","lastModifiedDateTime":"2023-08-31T10:30:00Z","projectKind":"Conversation","settings":{"confidenceThreshold":0.0,"normalizeCasing":false},"projectName":"CMVM_CUP_CLU","multilingual":false,"description":"Test Project","language":"it"}

following the uri I'm using:

https://{project end point}/language/authoring/analyze-conversations/projects/CMVM_CUP_CLU/:export?stringIndexType=Utf16CodeUnit&api-version=2023-04-15-preview

and

https://{project end point}/language/authoring/analyze-conversations/projects/CMVM_CUP_CLU?api-version=2023-04-15-preview

From Language Studio I can export it correctly.

Thank you for help

Piercarlo

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,645 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 20,500 Reputation points
    2023-10-01T05:20:24.26+00:00

    Are you sure you use the POST method to call API?

    P.S. For the second URI it should be "/CMVM_CUP_CLU/:export?"

    0 comments No comments