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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

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

1 ACCEPTED SOLUTION
rubayatyasmin
Community Champion
Community Champion

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!


View solution in original post

5 REPLIES 5
Anonymous
Not applicable

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.

Anonymous
Not applicable

Hi @dovile_kr,

As we haven’t heard back from you, so just following up to our previous message. I'd like to confirm if you've successfully resolved this issue or if you need further help.

If yes, you are welcome to share your workaround and mark it as a solution so that other users can benefit as well. If you find a reply particularly helpful to you, you can also mark it as a solution.


If you still have any questions or need more support, please feel free to let us know. We are more than happy to continue to help you.
Thank you for your patience and look forward to hearing from you.

Anonymous
Not applicable

Hi @dovile_kr,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution so that other community members can find it easily.


Thank you.

Anonymous
Not applicable

Hi @dovile_kr,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

 

Thank you.

rubayatyasmin
Community Champion
Community Champion

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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.