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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

ERROR when Refreshing Data with SAP HANA

Dear experts,

 

Yesterday I was refreshing my report and my internet falls down. Now I can't refresh any more and show me that error:

 

ODBC: ERROR [HY000] [SAP AG][LIBODBCHDB DLL][HDBODBC] General error;4321 only secure connections are allowed ERROR [HY000] [SAP AG][LIBODBCHDB DLL][HDBODBC] General error;4321 only secure connections are allowed

SilvaDiogo_0-1638451770793.png

 

I was able to refresh normally until my internet falls.

I have already unistall and install the PowerBI Desktop but doesn't work.

Any one have a solution for that problem?

 

Best Reguards,

Diogo.

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Go to File > Options and settings > Data source settings, clear permissions of this data source and try connecting to it again. 

 

I saw there is an ENCRYPT parameter that may be related to this error, see if below links help. 

Problem to connect SSL on Hana DB SAP - SQL Error 4321 - only secure connections are allowed · Issue #35 · SAP/go-hdb · GitHub

HY000 Native error: 4321 error when managing SAP HANA target via CPM (force.com)

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

View solution in original post

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @Anonymous 

 

Go to File > Options and settings > Data source settings, clear permissions of this data source and try connecting to it again. 

 

I saw there is an ENCRYPT parameter that may be related to this error, see if below links help. 

Problem to connect SSL on Hana DB SAP - SQL Error 4321 - only secure connections are allowed · Issue #35 · SAP/go-hdb · GitHub

HY000 Native error: 4321 error when managing SAP HANA target via CPM (force.com)

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors