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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
dovile_kr
New Member

GCP BQ Big Query Table import error if table has PK constraints

Error: 

Failed to save modifications to the server. Error returned: 'OLE DB or ODBC error: Type mismatch. (Exception from HRESULT: 0x80020005 (DISP_E_TYPEMISMATCH)). '.
 
How data is read and how data is in BQ

dovile_kr_0-1742581234255.pngdovile_kr_1-1742581265312.pngdovile_kr_2-1742581291626.png

 

All good if I remove the PK constraints

2 REPLIES 2
v-mdharahman
Community Support
Community Support

Hi @dovile_kr,

Thanks for reaching out to the Microsoft fabric community forum.

It looks like you are getting error related to type mismatch. As @rubayatyasmin already responded to your query, please go through the response and check if it solves your issue.

 

I would also take a moment to thank @rubayatyasmin, for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

 

If I misunderstand your needs or you still have problems on it, please feel free to let us know.  

Best Regards,
Hammad.
Community Support Team

 

If this post helps then please mark it as a solution, so that other members find it more quickly.

Thank you.

rubayatyasmin
Super User
Super User

Hi, @dovile_kr 

 

change the data type and see what happens. refer:

powerbi - How to troubleshoot error while refreshing - Stack Overflow

Solved: OLE DB or ODBC error: Type mismatch. (Exception fr... - Microsoft Fabric Community


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors