Sage CRM RESTful Error when posting Leads and Cases

SOLVED

Hi Community,

Has anyone encountered this error when trying to do a RESTful API POST request?

We are experiencing this issue when posting leads and cases, but not when posting opportunities.

Here is the error message we receive:

{
    "$diagnoses": [
        {
            "$severity": "Error",
            "$applicationCode": "Could not initialize class com.jacob.activeX.ActiveXComponent",
            "$message": "Could not initialize class com.jacob.activeX.ActiveXComponent",
            "$stackTrace": "sdata953744",
            "status": "INTERNAL_SERVER_ERROR",
            "$sdataCode": null
        }
    ]
}

Our developer thinks it might be related to a missing library or a corrupt/outdated JRE installation.

Any help or suggestions would be greatly appreciated.