Error 400 on good JOSN formatting

deals

#1

Hello, I keep getting error 400 but all looks to be good, JSON is proper and all properties I am sending to HubSpot exist. Please help... Below is my JSON array and the error printed out

    {
    "associations": {
        "associatedCompanyIds": [],
        "associatedVids": [
            39577956
        ]
    },
    "properties": [
        {
            "property": "fund_code",
            "value": "MILITARY-BK"
        },
        {
            "property": "appeal_description_code",
            "value": "WEB DONATION"
        },
        {
            "property": "appeal_code",
            "value": "FWEB"
        },
        {
            "property": "thank_you_letter_code",
            "value": "WEB"
        },
        {
            "property": "appeal_date",
            "value": "1\/1\/0001"
        },
        {
            "property": "territory_number",
            "value": "13002"
        },
        {
            "property": "donation_type",
            "value": "DON"
        },
        {
            "property": "payment_type",
            "value": "CC"
        },
        {
            "property": "payment_identifier_code",
            "value": "CC"
        },
        {
            "property": "name_on_payment",
            "value": "SAME"
        },
        {
            "property": "unused_t",
            "value": "D"
        },
        {
            "property": "batch_number",
            "value": "121515"
        },
        {
            "property": "user_editing_donation_data",
            "value": "COMPUTERWB"
        },
        {
            "property": "payment_platform",
            "value": "WEB"
        },
        {
            "property": "transaction_type",
            "value": "AUTH_CAPTU"
        },
        {
            "property": "project_id",
            "value": "1581"
        },
        {
            "property": "device",
            "value": "W"
        },
        {
            "property": "ip_address",
            "value": "198.241.207.38"
        },
        {
            "property": "brand",
            "value": "FCBH"
        },
        {
            "property": "currency_code",
            "value": "USD"
        },
        {
            "property": "date_of_charge",
            "value": "180323"
        },
        {
            "property": "time_of_charge",
            "value": "65105"
        },
        {
            "property": "i5customerid",
            "value": "999999"
        },
        {
            "property": "dealname",
            "value": "Same 999999 Deal"
        },
        {
            "property": "pipeline",
            "value": "Donations"
        },
        {
            "property": "transaction_number",
            "value": "999999999"
        },
        {
            "property": "closedate",
            "value": "03\/27\/2018"
        },
        {
            "property": "dealstage",
            "value": "Collected Donation"
        },
        {
            "property": "amount",
            "value": "211.00"
        },
        {
            "property": "createdate",
            "value": "03\/27\/2018"
        }
    ]
}
 Status Code: 400

 

 Curl Errors: 
Array
(
    [status] => error
    [message] => Property values were not valid
    [correlationId] => 8e84809c-24c8-43c0-8155-ef0e62694d18
    [validationResults] => Array
        (
            [0] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [1] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [2] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [3] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [4] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [5] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [6] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [7] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [8] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [9] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [10] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [11] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [12] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [13] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [14] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [15] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [16] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [17] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [18] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [19] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [20] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [21] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [22] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [23] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [24] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [25] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

            [26] => Array
                (
                    [isValid] => 
                    [message] => Property "" does not exist
                    [error] => PROPERTY_DOESNT_EXIST
                    [name] => 
                )

        )

       [requestId] => 9e3eb36799feca57f9575190916d6d95
    )

#2

Ok, stupid feeling. Had "property" where "name" needed to be