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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register 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

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

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.

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.

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

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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