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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Kudoed Authors