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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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-... 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

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-... 

If this post helps to answer your questions, please consider marking it as a solution so others can find it more quickly when faced with a similar challenge.

Proud to be a Microsoft Fabric Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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