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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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