---
title: "C4O - Connectors - Oracle Connetor - Invalid byte size"
canonical: "https://docs.certero.com/space/CUP/119701543/C4O+-+Connectors+-+Oracle+Connetor+-+Invalid+byte+size"
format: markdown
---
# Document version control table

|  |  |
| --- | --- |
| **Attribute** | **Setting** |
| Document title | C4O – Connectors – Oracle Database - Invalid bytes count |
| Document subject | Invalid bytes count |
| Document version | 1a |
| Document category | Frequently Asked Questions (FAQ) |
| Document published date | 08/04/2025 |
| Technical level | 300 |
| Hosting type | On premise & SaaS provisioned |
| Product name | Certero for Oracle |
| Product version | 8.x |
| Module | Certero for Oracle Database |
| Connector | Certero for Oracle Database Database Connector |


# **Question**

The last error being displayed indicate “Invalid bytes count” this is not a standard oracle error. 

# **Answer**

There was an issue with the third-party library we use, "Devart." It appears that other reports were related to third-party applications rather than an Oracle problem. The Certero Dev staff updated the "Devart" library and rolled it out. The issue has now been resolved. Moving forward, the Dev team should ensure that this library is updated periodically.

Example output Screenshot:

![image](media://8a2135c3-7732-42fe-890b-303b443579fe)


![image](media://d719cb6e-3843-4ea6-a705-ee3717dfaff8)


Some other useful links:   
[https://forums.toadworld.com/t/taod-data-point-connection-error/60002](https://forums.toadworld.com/t/taod-data-point-connection-error/60002)  
[https://forum.red-gate.com/discussion/90961/invalid-bytes-count-popup-on-previously-working-saved-project-manual-connection](https://forum.red-gate.com/discussion/90961/invalid-bytes-count-popup-on-previously-working-saved-project-manual-connection)  
[https://support.skyvia.com/portal/en/community/topic/oracle-connector-issue-invalid-byte-count](https://support.skyvia.com/portal/en/community/topic/oracle-connector-issue-invalid-byte-count)


Certero believe the issue was with the config of the sqlnet.ora file and those that are using encryption.   
   
example; We get the [Invalid bytes count] error on an Oracle connector where the servers sqlnet.ora file is:  
   
oracle@us01vlpmxodb20 pmxdv4d1 admin: cat sqlnet.ora  
sqlnet.expire_time=10  
sqlnet.inbound_connect_timeout=180  
ENCRYPTION_WALLET_LOCATION  
=(source  
     =(method=file)  
        (method_data=  
          (directory=/opt/bt/oracledb-12c/admin/${ORACLE_SID}/encryption_keystore/)  
        )  
  )  
   
And one that works without this error does not contain any encryption config:  
   
[root@us01vldgbdb440 AKA dgb-dev61-fi4423-oradb01a admin]# cat sqlnet.ora   
sqlnet.expire_time=10  
sqlnet.inbound_connect_timeout=180  
sqlnet.allowed_logon_version=11


<sup>1</sup>

<sup>I</sup>