Why am I getting an error when uploading a small CSV file to BigQuery? - sql

The error message is
Failed to create table: Error while reading data, error message: Error detected while parsing row starting at position: 0. Error: Bad character (ASCII 0) encountered.

Related

JSON text is not properly formatted. Unexpected character '"' is found at position 311. [SQLSTATE 42000] (Error 13609). The step failed

Running the script in environment ssms has no error
But when we run in job , we get the following error
sample json :
["A1122K04BB0095719F5C37",
"A1122K04BB0095719F5C49",
"A1122K04BB0095719F5C58",
"A1122K04BB0095719F5C60",
"A1122K04BB0095719F5C84",
"A1122K04BB0095719F5C92",
"A1122K04BB0095719F5CA6",
"A1122K04BB0095719F5CB3",
"A1122K04BB0095719F5CC3",
"A1122K04BB0095719F5CD9"]

How do I upload a file to sql with this error message?

Failed to create table: Error while reading data, error message: Error detected while parsing row starting at position: 0. Error: Bad character (ASCII 0) encountered.
This is the error message when I type it into SQL to create a table from my csv format document.

Scheduled Query Fails To Read Spreadsheet

I have 14 scheduled queries that run hourly from Google Sheets but they fail half of the time. I don't understand the error status though as the queries do run successfully half of the time. The error reads:
Error status: Invalid value Error while reading table: tester-253410.test1.Table_View_2_Agent_Targets, error message: Failed to read the spreadsheet. Errors: Deadline=118.888051456s; JobID: tester-253410:5e59a150-0000-2421-b469-001a1144591c
Is there anything that I can try?

Internal Error: Attempt to output 65872 into a 16-bit field. It will be truncate

I am converting a pdf file to htmldom using pdftohtmlex and getting this error:
Internal Error: Attempt to output 65872 into a 16-bit field. It will be truncate and the file may not be useful.

VBA Error: The buffer supplied to a function was too small

I'm running a function and getting this error:
Error # -2146893023 was generated by MSXML6.DLL
Error line: 0
The buffer supplied to a function was too small.
Any clue why this is happening?