• Resolved mrwweb

    (@mrwweb)


    I am not seeing any submissions reach SendGrid after having configured the plugin with the API and received many entries over the past month.

    With Logging turned on, I see this:

    2023-01-06 15:08:13.905816 – DEBUG –> GFFeedAddOn::maybe_process_feed(): Checking for feeds to process for entry #10860 for gragrid.
    2023-01-06 15:08:13.906533 – DEBUG –> GFFeedAddOn::maybe_process_feed(): Starting to process feed (#4 – SendGrid Feed 1 (Gragrid)) for entry #10860 for gragrid
    2023-01-06 15:08:13.906620 – DEBUG –> Gragrid::init_api(): Validating API key.
    2023-01-06 15:08:14.830866 – DEBUG –> Gragrid::init_api(): SendGrid successfully authenticated.
    2023-01-06 15:08:15.507004 – DEBUG –> GFFeedAddOn::maybe_process_feed(): Marking entry #10860 as fulfilled for gragrid

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mrwweb

    (@mrwweb)

    @vlass Any chance you have a guess at what’s happening here. The logs are filling up with these same messages that show a successful connection but then not actual new contact created.

    @karchung0930 Could you share what error you made when you ran into this problem?

    @parth41486 Did you ever figure out what was happening in your situation?

    • This reply was modified 1 year, 10 months ago by mrwweb. Reason: fixing typo in username
    Thread Starter mrwweb

    (@mrwweb)

    I’m pleased to report that I figured this issue out. Hopefully this can help someone else.

    We had a “Date” custom field that used the date field type in SendGrid. I had assigned the Gravity Forms “Entry Date” value to this field. Unfortunately, Gravity Forms’ field doesn’t meet the SendGrid formatting standards and so the entire entry is rejected.

    I figured this out by logging the value of $response on line 602 of class-gragrid.php and then using the job_id in the response to look up the SendGrid Import Contact Status response. That showed me that adding the contact had failed and gave me an errors_url which took me to a CSV with the message:

    error storing custom field name=Date type=Date as value=”2023-01-18 21:47:59″: custom field value is not in any of the following date formats: RFC3339, MM/DD/YYY, or M/D/YYYY

    Thread Starter mrwweb

    (@mrwweb)

    @vlass Just thinking about a couple things that might have made this easier to troubleshoot:

    1. When I have Gravity Forms logging turned on, it would be nice to see the job_id from SendGrid included in the log.
    2. I wonder if the Field Mapping interface in the Feed settings could include the field type in parentheses and maybe even a warning that not meeting special field type requirements will result in the entire contact request getting rejected.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contacts not sending to SendGrid’ is closed to new replies.