# JDBC Connector Error

**URL:** <https://developer.sailpoint.com/discuss/t/jdbc-connector-error/3313>\
**Category:** SHF Discussion and Questions\
**Created:** [March 8, 2022, 8:28pm UTC](https://developer.sailpoint.com/discuss/t/jdbc-connector-error/3313 "2022-03-08T20:28:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![krigney](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krigney/32/772_2.png) [@krigney](https://developer.sailpoint.com/discuss/u/krigney)\
**Post date:** [March 8, 2022, 8:28pm UTC](https://developer.sailpoint.com/discuss/t/jdbc-connector-error/3313/1 "2022-03-08T20:28:04Z")

</div>

I am new to working with the JDBC connectors. I have a new connector and I am getting the following error and I have not been able to find what I need to fix. We have other JDBC connectors developed by a partner and I used them has a template to create the new one.

[“Null Object XML returned from cloud for type [Rule] with identifier[jdbcProvisionRule]”]

any help would be great

---

<div class="post-metadata">

**Author:** ![yannick\_beot](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/yannick_beot/32/8985_2.png) [@yannick\_beot](https://developer.sailpoint.com/discuss/u/yannick_beot)\
**Post date:** [March 9, 2022, 9:05am UTC](https://developer.sailpoint.com/discuss/t/jdbc-connector-error/3313/2 "2022-03-09T09:05:58Z")

</div>

Hi @krigney,  
Welcome to this community!

JDBC Provision Rule are required when you are trying to provision (i.e. create) accounts in a database.  
“jdbcProvisionRule” is the name by default that should replace.  
If provisioning is working for other JDBC source, you can try the following:

1. Use the endpoint [List Connector Rules](https://developer.sailpoint.com/idn/api/beta/get-connector-rule-list) to list available rules or  
get source details with the endpoint [Get source](https://developer.sailpoint.com/idn/api/v3/get-source). The JDBC Provision Rule is present in

```json
{
    "description": "...",
    "owner": {...},
    "cluster": {...}
  ...
    "connectorAttributes": {
        ...
        "jdbcProvisionRule": "JDBC Provisioning Rule used",
        ...
    },
    ...
}

```

1. Update for your source the JDBC Provision Rule with the [PATCH endpoint](https://developer.sailpoint.com/idn/api/v3/update-source), with a payload like:

```json
[
    {
        "op": "add",
        "path": "/connectorAttributes/jdbcProvisionRule",
        "value": "JDBC Provisioning Rule used"
    }
]

```

Hope this helps!

---

<div class="post-metadata">

**Author:** ![krigney](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/krigney/32/772_2.png) [@krigney](https://developer.sailpoint.com/discuss/u/krigney)\
**Post date:** [March 11, 2022, 10:20pm UTC](https://developer.sailpoint.com/discuss/t/jdbc-connector-error/3313/3 "2022-03-11T22:20:13Z")

</div>

Thank-you that was it

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [July 19, 2023, 2:22pm UTC](https://developer.sailpoint.com/discuss/t/jdbc-connector-error/3313/4 "2023-07-19T14:22:43Z")

</div>

Closed on July 19, 2023, 2:22pm UTC


