• warrenwadenim

    (@warrenwadenim)


    I’ve got two Contact 7 forms pushing to Salesforce Web-to-Case (below) and Web-to-Lead. I’m receiving the following process result while in debug mode “Exception:common.exception.SalesforceGenericException” and I’m not able to push past it. Any thoughts on how to troubleshoot this?

    *** Service ***
    Array
    (
        [name] => Salesforce - Web-to-Case
        [url] => https://www.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8
        [forms] => Array
            (
                [0] => cf7_5604
            )
    
        [success] =>
        [failure] =>
        [timeout] =>
        [mapping] => Array
            (
                [0] => Array
                    (
                        [val] => 1
                        [lbl] => OID
                        [src] => 00D80000000PQrw
                        [3rd] => oid
                    )
    
                [1] => Array
                    (
                        [lbl] => Your Name
                        [src] => ContactName
                        [3rd] => SuppliedName
                    )
    
                [2] => Array
                    (
                        [lbl] => Company
                        [src] => Company
                        [3rd] => SuppliedCompany
                    )
    
                [3] => Array
                    (
                        [lbl] => Email
                        [src] => Email
                        [3rd] => SuppliedEmail
                    )
    
                [4] => Array
                    (
                        [lbl] => Quick Description of the Problem
                        [src] => subject
                        [3rd] => Subject
                    )
    
                [5] => Array
                    (
                        [lbl] => Long Description
                        [src] => Description
                        [3rd] => Description
                    )
    
                [6] => Array
                    (
                        [lbl] => Reason for Case
                        [src] => reason
                        [3rd] => Reason
                    )
    
                [7] => Array
                    (
                        [lbl] => Priority
                        [src] => priority
                        [3rd] => Priority
                    )
    
                [8] => Array
                    (
                        [lbl] => Type of Case
                        [src] => type
                        [3rd] => Type
                    )
    
                [9] => Array
                    (
                        [lbl] => Estimated Number of Hours
                        [src] => EstHours
                        [3rd] => 00N80000004zYs9
                    )
    
                [10] => Array
                    (
                        [val] => 1
                        [lbl] => Status
                        [src] => New
                        [3rd] => Status
                    )
    
                [11] => Array
                    (
                        [val] => 1
                        [lbl] => Case Origin
                        [src] => Web
                        [3rd] => Origin
                    )
    
            )
    
        [separator] => ,
    )
    
    *** Post (Form) ***
    https://nowitmatters.com/support/
    Array
    (
        [_wpcf7] => 5604
        [_wpcf7_version] => 4.1.1
        [_wpcf7_locale] => en_US
        [_wpcf7_unit_tag] => wpcf7-f5604-p5601-o1
        [_wpnonce] => 635bbec723
        [ContactName] => Warren Wade
        [company] => Now IT Matters Again
        [email] => warren+testtesttest@nowitmatters.com
        [phone] => 123654789
        [reason] => Bug/Problem (user error/config problems)
        [priority] => High
        [type] => Problem
        [EstHours] => 4
        [subject] => Jalldooekkw
        [Description] => Lkijasdlfkjasdfoiju
        [_wpcf7_is_ajax_call] => 1
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 10
        [body] => Array
            (
                [oid] => 00D80000000PQrw
                [Subject] => Jalldooekkw
                [Description] => Lkijasdlfkjasdfoiju
                [Reason] => Bug/Problem (user error/config problems)
                [Priority] => High
                [Type] => Problem
                [Status] => New
                [Origin] => Web
            )
    
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [date] => Tue, 21 Apr 2015 17:02:41 GMT
                [set-cookie] => BrowserId=IKV3pXuKShenhtMqL5yb1Q;Path=/;Domain=.salesforce.com;Expires=Sat, 20-Jun-2015 17:02:41 GMT
                [expires] => Thu, 01 Jan 1970 00:00:00 GMT
                [cache-control] => private,s-maxage=0
                [content-type] => text/html;charset=UTF-8
                [is-processed] => true Exception:common.exception.SalesforceGenericException
                [connection] => close
            )
    
        [body] =>
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => BrowserId
                        [value] => IKV3pXuKShenhtMqL5yb1Q
                        [expires] => 1434819761
                        [path] => /
                        [domain] => .salesforce.com
                    )
    
            )
    
        [filename] =>
    )

    https://wordpress.org/plugins/forms-3rdparty-integration/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter warrenwadenim

    (@warrenwadenim)

    Sorry, that wasn’t my most recent debug:

    ** Service ***
    Array
    (
        [name] => Salesforce - Web-to-Case
        [url] => https://www.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8
        [forms] => Array
            (
                [0] => cf7_5604
            )
    
        [success] =>
        [failure] =>
        [timeout] => 10
        [mapping] => Array
            (
                [0] => Array
                    (
                        [val] => 1
                        [lbl] => OID
                        [src] => 00D80000000PQrw
                        [3rd] => oid
                    )
    
                [1] => Array
                    (
                        [lbl] => Your Name
                        [src] => ContactName
                        [3rd] => name
                    )
    
                [2] => Array
                    (
                        [lbl] => Company
                        [src] => Company
                        [3rd] => company
                    )
    
                [3] => Array
                    (
                        [lbl] => Email
                        [src] => Email
                        [3rd] => email
    [Quoted text hidden]
        [company] => Test
        [email] => warren+wade@nowitmatters.com
        [phone] => 1236547890
        [reason] => Bug/Problem (user error/config problems)
        [priority] => High
        [type] => Problem
        [EstHours] => 5
        [subject] => A problem
        [Description] => jadsj;lads;lk
        [_wpcf7_is_ajax_call] => 1
    )
    
    *** Post (to Service) ***
    Array
    (
        [timeout] => 10
        [body] => Array
            (
                [oid] => 00D80000000PQrw
                [subject] => A problem
                [description] => jadsj;lads;lk
                [reason] => Bug/Problem (user error/config problems)
                [priority] => High
                [type] => Problem
                [status] => New
                [Origin] => Web
            )
    
    )
    
    *** Response ***
    Array
    (
        [headers] => Array
            (
                [date] => Tue, 21 Apr 2015 17:35:15 GMT
                [set-cookie] => BrowserId=tOgiQZk_Q8mH0QU4hKntvg;Path=/;Domain=.salesforce.com;Expires=Sat, 20-Jun-2015 17:35:15 GMT
                [expires] => Thu, 01 Jan 1970 00:00:00 GMT
                [cache-control] => private,s-maxage=0
                [content-type] => text/html;charset=UTF-8
                [is-processed] => true Exception:common.exception.SalesforceGenericException
                [connection] => close
            )
    
        [body] =>
        [response] => Array
            (
                [code] => 200
                [message] => OK
            )
    
        [cookies] => Array
            (
                [0] => WP_Http_Cookie Object
                    (
                        [name] => BrowserId
                        [value] => tOgiQZk_Q8mH0QU4hKntvg
                        [expires] => 1434821715
    
                        [path] => /
                        [domain] => .salesforce.com
                    )
    
            )
    
        [filename] =>
    )
    Plugin Author zaus

    (@zaus)

    My guess is you’re not mapping the ’email’ field correctly – note the case in the “post form” section, and thus there is no email in the “post service” section because you have it looking for ‘Email’.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Generic Exception’ is closed to new replies.