The steps to setup a connection from DBeaver to your Salesforce Data 360 (formerly Data Cloud) org are outlined in Connect DBeaver to Data 360. As outlined in this Help documentation, completing the steps in Set Up Connected App for DBeaver are a prerequisite before you can connect to Data 360 from DBeaver. During completion of these steps you may encounter errors in DBeaver. Common errors are listed in this article along with steps that have resolved these errors in the past. If the details outlined do not resolve your issue, create a case with Salesforce Data 360 support for further assistance.
Please ensure you are using the latest version of the JDBC driver if you are seeing any errors not resolved by the steps listed below. You can download this from the GitHub Repository here.
Update to the latest version as follows:
Note: unless specified most of these errors are observed after creating a connection in DBeaver when click the Connect or Test Connection button.
This error indicates an issue with the driver files required to create a Salesforce Data 360 connection. Follow these steps to confirm that a driver file is present:
This error indicates that you have not added a clientId to the connection settings, complete the following steps:
This error indicates that you have not added a clientSecret to the connection settings, complete the following steps:
As outlined in Use Data 360 APIs with Data Spaces, a dataspace parameter can be passed when connecting to Data 360 via API. This is also true with DBeaver. In the same way you configured the clientId and clientSecret in Connection settings > Driver properties, you can also create a dataspace property and set the name of the dataspace you wish to connect to as its value. If you have done this configuration you may notice this error "Dataspace cannot be changed in the same connections" when attempting to view the contents of another dataspace in the Database Navigator. Create a new connection and specify the name of the other dataspace in the connection settings in order to view the dataspace's objects.
Review the access of the user whose credentials are entered in the Username and Password settings of your connection. Ensure that the user is assigned a permission set that provides Data 360 access. See Data 360 Standard Permission Sets for details on available permission sets. Also confirm that the assigned permission set is associated with the data space being connected to. If you are passing a dataspace parameter in the Connection settings > Driver properties, then confirm that the Data 360 permission set assigned to your user is associated with that data space by following the steps in Associate a Permission Set with a Data Space. If no dataspace parameter is configured then ensure the permission set is associated with the default data space.
This error indicates an issue during authentication. To get more information about what error is being returned during the login attempt follow these steps:
| Error/Status | Resolution |
| Invalid Password | Check you are using the correct Username and Password in DBeaver connection. Confirm you can login to your org with the same details. |
| Password Lockout | An incorrect password was entered too many times and your user has been temporarily locked out due to a password policy set. Contact your Salesforce Administrator to unlock your user. |
| Username-Password Flow Disabled | Go to Setup and search "OAuth and OpenID Connect settings" in Quick Find. Ensure "Allow OAuth Username-Password Flows" is enabled. |
002718165

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.