Tableau server - Snowflake (50311) UTF-8 Error - utf-8

I am able to run the extract successfully in Tableau Desktop, over the Tableau server intermittently I am getting errors with the message
"java.lang.RuntimeException: [Snowflake][Support] (50311) Error converting invalid input with source encoding UTF-8 using ICU. Rejected bytes began with: ACFF."**.
Are there any settings over the Tableau server that I can enable to get rid of this error. Kindly assist.

Based on error code I assume you're using Snowflake ODBC driver. If that is the case, check if the result set is set to 'ARROW' (by default it is):
SHOW PARAMETERS LIKE 'ODBC_QUERY_RESULT_FORMAT';
Change result set format to 'JSON' and see if you're still getting the error (should not happen):
ALTER USER <user> SET ODBC_QUERY_RESULT_FORMAT='JSON';

Related

Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error]

I am using the SSAS to develop the tabular model. I am able to extract the data from the database. However, when I try to deploy I keep on getting this error.
Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: [DataSource.Error] An error happened while reading data from the provider: 'Object reference not set to an instance of an object.'. '.
I have tried many solution like:
Check my database connection
Check the datatype in the table
However, none of the solution works.
Is there a way to find the issue with the Object reference not set to an instance of an object error?

Getting error: Cannot access NLS data files or invalid environment specified

Wrote a simple query for post api which is as follows:
SELECT * FROM TEST2 t WHERE t.correlation_id = 1;
However, getting the error that can not access nls datafiles or environment specified. Unable to understand how to resolve this. I am working at the windows machine.
Any help or guidance would mean a lot. Thank You!
I tried to query data through post api using oracle database. but getting an error.

SSIS project not working when reading from Oracle

I've been trying to create an SSIS project to read from an Oracle 11.x database to an SQL Server database.
When I set this up in Visual Studio 10 Shell, I do not receive any logs . It gives me a successful message but nothing happens.
I tried to connect to an Oracle 12c database and the same happened.
I tried to get data from an Oracle 11.x project and dump it into an excel file. I also tried to get data from an Oracle 11.x table and dump it into a new Oracle 11.x table (in the same database) and in both cases I got the following error:
> TITLE: Microsoft Visual Studio
Failed to start project
------------------------------ ADDITIONAL INFORMATION:
Exception deserializing the package "The package failed to load due to
error 0xC0011008 "Error loading from XML. No further detailed error
information can be specified for this problem because no Events object
was passed where detailed error information can be stored.". This
occurs when CPackage::LoadFromXML fails. ".
(Microsoft.DataTransformationServices.VsIntegration)
The package failed to load due to error 0xC0011008 "Error loading from
XML. No further detailed error information can be specified for this
problem because no Events object was passed where detailed error
information can be stored.". This occurs when CPackage::LoadFromXML
fails. (Package)
------------------------------ BUTTONS:
OK
Can anyone help me please?
Thank you
You haven't posted how you are trying to get data from oracle exactly so can say much about the error. I can only give my solution in 2008 r2:
create an oracle linked server in your sql server and then use an open query in the SSIS package to pull anything you need

SalesForce to sql fails with Hashmap error

I'm trying to create batch process from SalesForce Lead table to my sql server database using the flow shown below. For some reason I keep getting the error: That the message payload is of type: HashMap. I tried using Transform Message but I kept getting the same error. How can I take a JSON Object from sales force and convert it into something that the sql server could use?
Which output directive should I use if I use Transform Message to avoid the sql server getting hash map?
Flow:
Error:

Debug SQL queries in SQuirrel-sql

How do I go about debugging a SQL statement in SQuirrel-sql?
I keep getting "unhelpful" errors like:
Error: [SQL0104] Token , was not valid. Valid tokens: ) OR.
SQLState: 42601
ErrorCode: -104
I would love to be able to see the line number where I made the error, or some other way of guiding me to where the problem is.
I am working with the JDBC driver on a IBMi DB2 database.
You can add the "errors=full" property for more detailed error messages although it will still require some interpretation to locate the precise syntax issue.
See the IBM Toolbox for Java JDBC properties for more information.
As Tracy mentioned if you want interactive syntax checking you will have to use one of the native SQL interfaces such as the green screen Start SQL Interactive Session (STRSQL) command or the IBM i Access Run SQL scripts tool.
For such errors where the problem isn't obvious, I like to copy and paste the SQL into the AS/400's green screen interactive SQL tool. (I'm assuming your database server is an AS/400 based on your tag and the mention of IBMi DB2.) The command is STRSQL. When there's an error, it will put your cursor right where the problem is. Or, more specifically, where it thinks the problem is. It does require green screen access to the AS/400.

Resources