Dialogflow Knowledge Base CSV Upload error - dialogflow-es

So I'm trying to upload an FAQ CSV file into my knowledge base. But every time I create, it will say "canceled" and at the bottom right corner it will just give me a pop up that says "error" and nothing else. Anyone know how to fix this?
Here's a screenshot of what it shows when I press "Create": https://imgur.com/2Tl3qAk

I have managed to resolve my issue. I noticed in my console that it had mentioned the file was not encoded using UTF-8, which is why it wasn't uploading. I fixed the issue by opening my CSV file with Sublime and clicking on "Save with Encoding" and select UTF-8. Thanks to everyone that helped.

For me, I realized my .csv did not have a proper end of file. When I opened it up with Sublime, I saw many lines with ',' after my text. I deleted those and saved it as UTF-8. My problem went away.
Just thought to share:

Related

Why won't my .stl file show the correct information in a text editor?

I am quite new to work working with .stl files and in my research, I found they can be opened in a text editor where faces and vertices were clearly written out and easy to read. However, whenever I download a .stl file and open it with a text editor, I get a series of random characters. The same thing happens when I take a .blend file and export it to a .stl file. In spite of this, the .stl files still render correctly. I have attached a picture of what my problem looks like. If anyone could help me out, I would appreciate it.
Thanks.
The random characters when I open .stl files in a text editor.

Creating An XLSX .rels from scratch .rels file not working properly?

So right now i'm working on creating an xlsx from scratch. Ive decided to dive right into the zip and replicate it through code. I've literally just copied and pasted everything exactly the same just changed the data on the backend.
I've noticed a very weird bug that seems to break the xlsx file after repacking it as a zip.
when I wrote my .rels.xml file in the back end and open it up via Browser it seems to display .rels.xml as normal.
However After going back into the original .rels.xml file of the original xlsx it is displayed as plain text, and after copying the file to the folder theres no "Would you like to replace the file" prompt almost as if it was a completely different name. Lastly it seems copying this .rels.xml from the original over to my backend , the xlsx seems to want to actually open.
Any clues as to why this behavior occurs?
EDIT: Seems like the same thing happens to the workbook.xml in the xl/_rels directory. I really have no clue why it does this... i'm not sure if its just because of the odd naming senses or not...
Not really sure what you want to achieve. Why are you not using a library that can work with the xlsx files? It is not a good idea to manipulate the xml unless you are absolutely sure what you are doing. Anyway if you still want to try use Notepad++ as the editor might change the xml encoding without warninig you. Also when you zip back use 7-zip and choose "store" or "normal-deflate" zip.
edit: I see now that you edit the xmls through code. So forget about notepad but keep an eye on the encoding

Corrupt Text File read/write/open

I have a large text file that I take notes in; Recently, after saving it, it won't open and gives following error. I tried a few things on web that didn't work---opening in different encoding format, etc. Nothing worked. Any idea how I can open it again? Is there a language I can use from bash? I'm very familiar with PHP. Any ideas? Different text editor?
Error:
"The document “ToDo.txt” could not be opened. Text encoding Unicode (UTF-8) isn’t applicable."
"The file may have been saved using a different text encoding, or it may not be a text file."
cat the file from the CLI and make sure your data is still there. Then you could simply copy and paste the output into a new file and hopefully get rid of whatever weird encodings are causing that text editor to not read the file.

Why excel sheet not opening?

I have one excel sheet but it's not opening, it showing one error message that the file extension is corrupt.
Please kindly go through the screen shots and suggest me some solution
This indeed means the file is corrupted. You still have some hope to open the file. If you have LibreOffice installed, this has worked for me in the past (then just export it as a doc and try opening it again). If you don't have it, you can also try uploading it to google documents and seeing if you can rescue the file that way.
Your file must be corrupt. It happens when not downloaded completely or uncomplete transfer of data.

RC2135 file not found error

I manually added code fro a new dialog box in my .rc file and I have started getting this error.
error RC2135: file not found: 0
I don't understand this error as it is not specifying any filename.
Any help is appreciated.
Thanks,
SG
Ok, I found the solution.
I had forgotten to add dialogex after the dialog id in rc file.
It may help someone, but just got this error, and the problem was, I accidentally pasted some nonsense text at the beginning of my .rc file (I was trying to paste it somewhere else, and this window must've been active at the time).

Resources