Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
VBeaklini
Helper I
Helper I

Error when loading data to a table

Hello i´m currently doing a free online course for Power BI for business inteligence when i encountered the following error while using PostegreSQL and loading data to a table:

 

ERROR:  invalid byte sequence for encoding "UTF8": 0xe9 0x73 0x74
CONTEXT:  COPY TB_PRODUTO, line 2
 
I understand this looks like a location/language error, but i don´t know how to solve for PostegreSQL, only on Power BI. And please note the default language for my PostegreSQL is already set to UTF-8.
 
Thanks for the help,
Victor Beaklini
1 ACCEPTED SOLUTION
jennratten
Super User
Super User

It appears to be a problem with the data in the database.  I am not sure that you will be able to fix it or work around it with Power BI.  Here are a few references I found.

https://stackoverflow.com/questions/4867272/invalid-byte-sequence-for-encoding-utf8 

https://dba.stackexchange.com/questions/4777/how-to-solve-utf8-invalid-byte-sequence-copy-errors-on-... 

View solution in original post

3 REPLIES 3
jennratten
Super User
Super User

It appears to be a problem with the data in the database.  I am not sure that you will be able to fix it or work around it with Power BI.  Here are a few references I found.

https://stackoverflow.com/questions/4867272/invalid-byte-sequence-for-encoding-utf8 

https://dba.stackexchange.com/questions/4777/how-to-solve-utf8-invalid-byte-sequence-copy-errors-on-... 

I managed to solve the problem with your solution. Thanks for the reply.

Hi @VBeaklini ,

 

If jennratten's answer is helpful, please consider marking his answer as a solution. This will help people who later encounter similar problems to find this thread faster, thanks in advance!🙂

 

Best Regards,
Gao

Community Support Team

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors