Error accessing LUIS model: 'BadArgument: Enumerable of models is empty' - azure-language-understanding

I'm trying to access a LUIS App from luis.ai portal but at the top it shows a message saying: 'BadArgument: Enumerable of models is empty'.
All I did before getting that error was creating a new version of the app by cloning it from another version.
I cannot access this LUIS app neither export the App data as JSON file :/
Any thoughts?
Thanks

At the end I had to create a new LUIS app using the latest version of the JSON file that I had previous to this issue.
And that time, everything did work.

Related

Quickblox.sdk GetBaseSession() method throws "nonce is required" error

I have used quickblox chat sdk in my old xamarin.forms project. I know that quickblox is not supporting xamarin now, but old sdk was working fine till now, but from last week I am getting this error.
Code:
var baseSesionResult = await Provider.QbProvider.GetBaseSession();
When I am calling QbProvider.GetBaseSession() it throws below error:
CONTENT: {"errors":{"base":["nonce is required"]}}
I have tried different methods available in sdk but none is working. Any one know how to fix this error?
This is Nikolay from QuickBlox support.
Please add "" symbols around nonce and timestamp values and check if the issue is resolved.
The same information is mentioned in our documentation: https://docs.quickblox.com/reference/authentication#create-session
We released a patch for authentication that improves validation according to our documentation.
Hence, the issue is caused by incorrect implementation in the application that is why the server has started showing errors for submitted requests.

LUIS App Fails to Train - App training failed: l_general: Retrain

I am no longer able to build and train my dispatcher LUIS app. If I try to run the dispatch CLI to refresh my dispatcher model like dispatch refresh --dispatch mydispatchfile.dispatch, it hangs on training the dispatch model and eventually returns the error that I can't publish without training it.
If I try to go into the luis.ai portal and train it there, I get the error "App training failed: l_general: Retrain"
I tried deleting the l_general intent to see if that was somehow the issue and it just changed the error to the next intent down. Now I can't get it to even show that much information.
I tried exporting the model and importing it into another app and it has the same issue. What happened?
Update: I tried importing an old version of the dispatcher model into the offending LUIS app and it won't train either. This old version trains fine in another LUIS app, but not this one.
Update again: If I export the model, delete the patterns in the JSON, and re-import it, the model will train. If I delete them in the luis.ai portal instead, it will not train.
Turns out this is currently a bug in LUIS where dispatch apps cannot have patterns. A fix is being rolled out for this tomorrow (8/20/2019), so this should no longer be a bug for this particular issue.

Google picker does not work without filter being applied for some users

we have an integrated with google picker(read-only scope,Docs view) it use to work fine but recently some users are getting blank screens as soon as the pop up shows but when they select some filter everything starts working fine after that no problems.
using developer tools i see all apis returning 200 for that first request
but there were no docs in response(i believe this is the api responsible for bringing docs in picker 'https://docs.google.com/picker/pvr')
when there are no docs returned in above api google is calling another api i assume it is to log error's probably(//docs.google.com/picker/ohnoes)
this api has following error params in it
&error=Cached and requested query mismatch
&line=Not available
&viewToken=["all",null,{"query":null}]
&ms=97
&transferDocs=false
&numErrors=1
has anybody else faced the similar problem
what do error "Cached and requested query mismatch" means in context of drive docs
Fyi - most accounts facing this problem seems like are of company domain for ex "jondoe#company.org"(this is a google account with company domain)
Filters Image
Thanks for your help.
not sure but looks like issue was may be related to google bug
https://issuetracker.google.com/issues/64825685
for me the code that was not working was:
addView(google.picker.ViewId.DOCS)
replaced this code with below code which works as expected
var view = new google.picker.DocsView();
view.setIncludeFolders(true).setOwnedByMe(true).setParent('root');
addView(view).

Luis Error: An item with the same key has already been added

My Luis bot app was working fine when I tested in the 2nd week of March 2017. Testing includes -
1) using Luis end point start with "https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/........." in browser and Luis.ai
2) using visual studio code where I provided the LuisDialog with LuisModel attribute having app id and subscription key.
When I today tried to test it again, it is working fine in browser and Luis.ai using luis end point but in NOT in visual studio.Please refer the screenshot. Every time it is giving "An item with the same key has already been added".
I checked the LUIS : An item with the same key has already been added but did not get answer.
I tried to integrate this luis bot app with Azure Bot service. Same error is there also -
"2017-03-12T12:27:17.657 Exception while executing function: Functions.messages. mscorlib: An item with the same key has already been added."
Please help.
Thanks,
Sarnendu
I was keep trying to solve my issue for couple of days to run bot service in azure. Finally I am able to run.
Mainly 2 issues were there -
One is wrong Luis API Host Name in Azure Portal
Another is wrong attribute in Intent.
Correcting the Luis API Host Name-
In Azure portal, I have updated the Luis API End Point to westus.api.cognitive.microsoft.com from api.projectoxford.ai.
Steps to follow - go to 'All Resources' and click on the bot. Now go to Setting Tab and click of Application Setting button. Please refer below screenshot.
Now update the LuisAPI end point key in yellow highlighted area as shown below-
Updating Luis API Host Name
After updating this setting, my bot was not working and throwing same error.
Correcting the Wrong Attribute in Intent :
Later I checked LuisDialog.csx,
[LuisIntent("")] atrtibute was present in one of the Intents other than None Intent. Here [LuisIntent("")] was given in BookHoliday Intent.
Please refer below screenshot -
Wrong attribute in Intent
Both [LuisIntent("")] and [LuisIntent("None")] can be used for None Intent.
I removed [LuisIntent("")] from BookHoliday Intent, it works fine.
It was copy-paste error, I copied None intent and modified None to BookHoliday but did not removed the [LuisIntent("")].
"An item with the same key has already been added"- this issue may also be raised if &q appears more than 1 time in query string as part of Luis App Endpoint url.
Regarding code run issue in visual studio, it looks like VS was not updated. It works after updating.

[BFTask isFaulted]: unrecognized selector sent to instance error

Updated to Parse SDK 1.7.1 with Bolts 1.1.4 and using the new and latest Facebook SDK. Every time I login the user I get the following error:
[BFTask isFaulted]: unrecognized selector sent to instance error.
I'm able to login the user, the user's info is store in parse, but not sure how to resolve this exception.
Anyone else having this problem?
Had this problem also.
I copied the Parse Bolts framework to the project directory. Referencing didn't do it. Same for Parse FacebookutilsV4.
I had solved this problem just a minute ago.
You need update the latest FacebookSDK to avoid this error.
You can just download the latest SDK from facebook website.
However if you just drag the parse and facebook framework together into the project, maybe a 'duplicate' error will be reported.
So I recommend you to use CocoaPods to manage your thirdparty framework.

Resources