-
Notifications
You must be signed in to change notification settings - Fork 665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bulk2 fails uploading utf-8 file #710
Comments
Having a similar issue here - trying to use Bulk 2.0 upsert, my csv file is definitely encoded in utf-8 but I get an error messagesaying 'is not valid Latin-1. My code:
Error message:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Even though the data is utf-8 encoding in the file, the job fails and returns a non-friendly message:
<h1>Bad Message 400</h1><pre>reason: Illegal character VCHAR=', '</pre>
I'd tried inserting
json.dumps
in the request to upload the data:This is the original code:
Adding the
json.dumps
method:This, however, makes the code to not fail, but the job does not upload anything.
The text was updated successfully, but these errors were encountered: