Azure-Samples / Azure-Samples/cognitive-services-dotnet-sdk-samples

CognitiveServices LUIS Authoring unable to deserialize response

Open
#225 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
123
Forks
166
PR merge metrics
No merged PRs in 30d

Description

## API Name (Kind)
LUIS Authoring issue

## Issue Description
Hi,

I get an "Unable to deserialize the response." error when calling the following ListAsync method.
` var examples = await client.Examples.ListAsync(appId, app.ActiveVersion);`
I am able to get intents and app details but not examples, this is the inner exception message:
' Message "JSON integer 2293959864 is too large or small for an Int32. Path '[0].id', line 1, position 17." string'

I am using version 3.1.0-preview.1 as mentioned in the documentation (https://docs.microsoft.com/en-us/azure/cognitive-services/luis/client-libraries-rest-api?tabs=windows&pivots=programming-language-csharp#add-example-utterance-to-intent)

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.