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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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.

Anonymous
Not applicable

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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