LUIS web interface crashed after import JSON file for Batch Testing or Import App - azure-language-understanding

When using LUIS web interface I encountered bugs below:
1. Page freeze after adding intents or entities: Start working after restart a new browser tab or few hours of waiting .
2. Can't publish app after Training: All buttons on 'Publish' page turn gray and can't be pressed.Start working after restart a new browser tab or few hours of waiting.
enter image description here
3. Can't upload file for Batch Testing: Uploading First test file of each app works fine, but uploading second file will cuz page freeze.
4. Entities in Batch Testing result were replaced with tokens: Can't recognized original utterances.
5. Import App with Same JSON file will generate Different app: I send same utterance to two different app which were all made of same JSON file, but got different result.
Thank you for reading my questions.
I sent those questions to Support message box but didn't get any reply so here is my last hope...

Related

Teams Deeplink - hyperlink in message

I am trying to send messages to Teams (chat with user) via deeplink. I succeeded at first, like a year ago. Without a change in my code, it suddenly stopped working. The link gets pasted as simple text without highlighting and it’s annoying.
I tried
[link name](link) and link name syntax (encoded or raw), but nothing helps.
Is there a way to paste hyperlinks to Teams via deeplink, that will be active?
I use return $"{openIn}l/chat/0/0?users={emails}&message={System.Web.HttpUtility.UrlEncode("test [test](https://adaptivecards.io) test")}"; for preparing link.
so result url looks like this
http://teams.microsoft.com/l/chat/0/0?users=aaa#bbb.com&message=test+%5btest%5d(https%3a%2f%2fadaptivecards.io)++test
Teams in compose box just shows link that is not clickable/transformed.
Teams compose box
Deeplink:-
https://teams.microsoft.com/l/chat/0/0?users=ABC#xyz.com&topicName=TestChat&message=Hello
Microsoft Teams Version 1.5.00.8170 (64-bit).
please change the user ID as per your tenant.
Ref.Doc:-https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#deep-linking-to-a-chat

Google Drive API Console: Error saving Drive UI integration page

I have a webapp in production that interacts with Google Drive through Google Drive API.
I need to change some settings in Drive interaction but I can't save.
When I save the Drive UI integration page, I receive this error:
There's a problem at our end.
Please try again. If the problem persists, please let us know using
the "Send feedback" link below. Thanks!
(spying Network console: there is an Internal Server Error in a POST call)
I tried to send feedback for months: nobody answers and the bug is still there.
I tried also to create another project: I can save the first time but then the bug returns.
How can I do? Has someone the same problem?
Is there a way to receive a reply from Google? Is there some workaround?
Thank you.
i think that problem must be Client ID
before adding Client ID, go to the Credentials -> OAuth 2.0 Client IDs
then select edit your Client ID. after that your production site url add to Authorized JavaScript origins and Authorized redirect URIs.
then enter your Client ID in Drive UI integration page
For myself trying to get the Drive UI configured I noticed a couple of errors (that don't have any specific error messages)
When adding in an Open URL it has to be a valid domain, so for instance I tried to test it out with local host, to no avail. However something like https://devbox.app.com worked, but something like https://localhost:8888 does not. Even though https://localhost is a valid javascript origin in the client_id configuration (at least for the app I am working on, not sure about other apps), localhost doesn't work as an open URL.
When adding in the mimeTypes it needs to be in the format */* and can include custom mimeTypes like application/custom+xml and application/custom-name+json not sure for other custom types that are not in a particular format like xml or json. Also not sure about wildcards.
When adding in file extensions do not add in the '.' just the name of the file extension.
The app icon I found only failed to upload the image when the image wasn't the exact dimensions, I actually ended up editing some icons in photoshop to change the pixel x pixel values as a quick work around during dev.
That worked for me to get it to save and I tested it with a file that had a custom mimeType (application/custom-name+xml specifically) and custom file extension!

Bot Framework emulator not posting to localhost after renaming my solution (500 error)

I created a Web App Bot in Azure with a basic template, downloaded the files and tested it with no problems on localhost with the Bot Framework Emulator.
However, once I renamed the solution/project/namespaces from the default Microsoft.Bot.Samples.SimpleEchoBot to MyBotName, the Bot Emulator received 500 - Internal Server Error.
The solution builds and runs, and setting a breakpoint in the MessagesController shows that the Post method is never reached.
How do I fix this?
A GET request to localhost:[PORT]/api/messages (open that url in the browser) reveals the error message Multiple types were found that match the controller named 'messages'. It was somehow finding both the old messages controller (Microsoft.Bot.Samples.SimpleEchoBot.MessagesController) and the new one (MyBotName.MessagesController).
Solution: delete the bin/ folder and re-build/run the project.

White Line in Console Application

I am creating an console application which take response from server and update information and send back response to server.
During running that exe it shows white line on console.
I stuck to find the solution.
Please refer image for clearity.
Console Application contains WhitLine

Sinatra-Synchrony is causing HttpProtocolException: HTTP-headers - are expected Error for some users

I have a webapp that updates data in Pardot through one of their API's.
The webapp is coded with Sinatra. The user adds the api url and a csv file with the data that needs to be updated in a form and hits submit. The code parses the csv data and sends it to the url that was provided. The back end server is Windows Server 2008 R2 with IIS 7.5 and HeliconZoo.
Because of performance issues Helicon tech support pointed me to Sinatra::Synchrony and I decided to implement it.
I tested it on multiple different computers with different OS's and browsers and everything works good. Performance was noticeably faster when more then one computer was connected and had submitted the form.
The problem I have is that some users keep getting this error after every time they submit the form:
Error
Helicon Zoo module has caught up an error. Please see the details below.
Worker Status
%WorkerStatus%
Windows error
%WindowsError%
Internal module error
message: HTTP-headers - are expected
job: JobHttp[#3] - /
transportStatus:Online
getErrorMessage:
RAW output bytes:0
RAW output Begin
Empty stderr
End
type: ZooException
file: JobHttp.cpp
line: 266
version: 1.1.57.268
Even though they get this error the data was sent to Pardot successfully.
Here is an entry from the ZooError.log file:
[10/24/2012 10:44:01] HttpProtocolException: HTTP-headers - are expected
job: JobHttp[#212] - /
transportStatus:Online
getErrorMessage:
RAW output bytes:0
RAW output Begin
Empty stderr
End
Where do I even start to troubleshoot this error?
Neil. I'm from Helicon Tech and will try to help you.
Please check the log of your Sinatra application, as according to our logs Sinatra responded with empty response which is not good.
It can be some issue in Zoo, so if you could provide some test application and instructions on how to reproduce such behavior to our helpdesk, we would try to detect and fix it.
I want to thank Tony for offering to help but this error didn't have anything to do with Helicon Zoo. The errors that were displayed on the screen from Zoo weren't any help but this ended up being an issue with my own code.
I was sending data to Pardot that came from a csv file. The users where creating the .csv files from excel by copying from one excel sheet to the other. By doing this excel was copying a bunch of blank lines and these blank lines were then saved into the csv file.
So...once I checked for blank rows in the csv file:
if !row.empty?
I stopped getting the error.

Resources