I cannot Export a CLU project with API

PieroFida 0 Reputation points


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


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


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

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 19,235 Reputation points

    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