• Resolved fcujorick2

    (@fcujorick2)


    Can’t figure out what to do with:

    Server Sending Invalid Match Key Parameters for AddToCart Event

    Problem

    Your server is sending an invalid ip_address, user_agent parameters value for your AddToCart event. This may be because there was an error in the parameter value.
    This may cause issues with the attribution and delivery optimization of ad campaigns that are using this event.

    Solution
    Check that you’re sending valid and unique values for the ip_address, user_agent parameters for your AddToCart event and that the data is normalized correctly.

    Next to thay I’ve got a question about the pixel part.
    When trying to upload products with woocommerce, facebook pixel, I’ve got a error with:

    The microdata of this pixel is incomplete or incorrectly formatted
    To use this pixel to add or update items in your catalog, you must install the required micro data tags on your website. More information

    The page I need help with: [log in to see the link]

Viewing 8 replies - 16 through 23 (of 23 total)
  • Hi @fcujorick2,

    I’m sorry that increasing the memory didn’t work for you. In this case, I’m going to run this by our engineering team to take another look at for you. Once they’ve had a chance to do so, I’ll be back in touch with an update.

    Thanks,

    Jennifer

    Thread Starter fcujorick2

    (@fcujorick2)

    Great, let me know!

    If we can just select some categories, in stead of excluding some, it will work ??

    Hey @fcujorick2,

    Marcus here from the support engineering team, hopping in for Jennifer to take a look at this with you. I think I’ve managed to catch up on the conversation, but please let me know if I’m missing something!

    It sounds like you might be looking to only sync a subset of your products – does that sound correct? Currently, this can be done using the category/tag exclusion in the WooCommerce > Facebook plugin settings. At this time we don’t have inclusion settings to account for filtering out all the subcategories you have for your 11,500+ products!

    To be sure that the plugin is connected properly, would you please check that Facebook logging is enabled (which it sounds like you did) and re-save one of your products? The logs should show whether or not that product synced successfully and we can go from there.

    Thanks,
    Marcus

    Thread Starter fcujorick2

    (@fcujorick2)

    Hi Marcus,

    A inclusion will be perfect, in that way we can select a couple of categories, in stead of exclusing thousands categories to get one done.

    I re-saved a product, the log is:

    facebook_for_woocommerce-2020-11-24-7584fa67504dd07cb94aa88875e306ec.log

    11-24-2020 @ 13:28:27 – Request
    Request
    method: POST
    uri: https://graph.facebook.com/v7.0/1521732684805396/events
    user-agent: Facebook-for-WooCommerce/2.2.0 (WooCommerce/4.7.0; WordPress/5.5.3)
    headers: Array
    (
    [Authorization] => *****************************************************************************************************************************************************************************************************************************
    [content-type] => application/json
    [accept] => application/json
    )
    body: {“data”:[{“event_time”:1606220907,”event_id”:”8cc4a366-8032-46c5-bfff-a6142a85670a”,”event_source_url”:”https:\/\/www.kunstinkaart.nl\/product\/birmingham-goldenrod-city-map\/?add_to_wishlist=115342″,”custom_data”:{“content_name”:”Birmingham GoldenRod City Map”,”content_ids”:”[\”wc_post_id_115342\”]”,”content_type”:”product_group”,”contents”:”[{\”id\”:\”wc_post_id_115342\”,\”quantity\”:1}]”,”content_category”:”Birmingham”,”value”:”19.95″,”currency”:”EUR”},”user_data”:{“client_ip_address”:”54.36.149.98″,”client_user_agent”:”Mozilla\/5.0 (compatible; AhrefsBot\/7.0; +http:\/\/ahrefs.com\/robot\/)”,”fbc”:””,”fbp”:””},”event_name”:”ViewContent”}],”partner_agent”:”woocommerce-4.7.0-2.2.0″}
    duration: 0.08817s

    11-24-2020 @ 13:28:27 – Response
    Response
    code: 200
    message: OK
    headers: Array
    (
    [x-ad-account-usage] => {“acc_id_util_pct”:0}
    [expires] => Sat, 01 Jan 2000 00:00:00 GMT
    [content-type] => application/json
    [facebook-api-version] => v7.0
    [x-fb-request-id] => ATXCwXCaTU64_z0juqnIFrt
    [strict-transport-security] => max-age=15552000; preload
    [x-fb-trace-id] => Bh/bgYyJHNg
    [x-app-usage] => {“call_count”:8,”total_cputime”:0,”total_time”:1}
    [x-fb-rev] => 1003023094
    [cache-control] => private, no-cache, no-store, must-revalidate
    [pragma] => no-cache
    [access-control-allow-origin] => *
    [x-fb-debug] => 0bpPEGFWFuL2/Zg/LiqrbMBGtwhXuSCRmEBbPgVSRnhIEP6ZU2vp0idpVCgYnK8m1ro4BufF+7yFFTcviWWzqg==
    [date] => Tue, 24 Nov 2020 12:28:27 GMT
    [alt-svc] => h3-29=”:443″; ma=3600,h3-27=”:443″; ma=3600
    [content-length] => 74
    )
    body: {“events_received”:1,”messages”:[],”fbtrace_id”:”ATXCwXCaTU64_z0juqnIFrt”}

    11-24-2020 @ 13:28:28 – Request
    Request
    method: POST
    uri: https://graph.facebook.com/v7.0/1521732684805396/events
    user-agent: Facebook-for-WooCommerce/2.2.0 (WooCommerce/4.7.0; WordPress/5.5.3)
    headers: Array
    (
    [Authorization] => *****************************************************************************************************************************************************************************************************************************
    [content-type] => application/json
    [accept] => application/json
    )
    body: {“data”:[{“event_time”:1606220908,”event_id”:”1fe956d7-02cd-4594-a01e-a8d8c9beb283″,”event_source_url”:”https:\/\/www.kunstinkaart.nl\/product\/didam-navy-city-map\/?page&product=didam-navy-city-map&post_type=product”,”custom_data”:{“content_name”:”Didam Navy City Map”,”content_ids”:”[\”wc_post_id_54082\”]”,”content_type”:”product_group”,”contents”:”[{\”id\”:\”wc_post_id_54082\”,\”quantity\”:1}]”,”content_category”:”Didam”,”value”:”19.95″,”currency”:”EUR”},”user_data”:{“client_ip_address”:”114.119.131.203″,”client_user_agent”:”Mozilla\/5.0 (Linux; Android 7.0;) AppleWebKit\/537.36 (KHTML, like Gecko) Mobile Safari\/537.36 (compatible; PetalBot;+https:\/\/aspiegel.com\/petalbot)”,”fbc”:””,”fbp”:””},”event_name”:”ViewContent”}],”partner_agent”:”woocommerce-4.7.0-2.2.0″}
    duration: 0.09152s

    11-24-2020 @ 13:28:28 – Response
    Response
    code: 200
    message: OK
    headers: Array
    (
    [x-ad-account-usage] => {“acc_id_util_pct”:0}
    [expires] => Sat, 01 Jan 2000 00:00:00 GMT
    [content-type] => application/json
    [facebook-api-version] => v7.0
    [x-fb-request-id] => A0z8snBxc-P0N4-o4z7hDR3
    [strict-transport-security] => max-age=15552000; preload
    [x-fb-trace-id] => DEJW3TOXxCJ
    [x-app-usage] => {“call_count”:8,”total_cputime”:0,”total_time”:1}
    [x-fb-rev] => 1003023121
    [cache-control] => private, no-cache, no-store, must-revalidate
    [pragma] => no-cache
    [access-control-allow-origin] => *
    [x-fb-debug] => YzQAmRhwb1bkW2nCs9sqzEru1hqpycVFIhUWxSJnVs2WfgpxuO0s2qu+1MH1VgWtGSZvfvN/X6o5P5yprknJKA==
    [date] => Tue, 24 Nov 2020 12:28:28 GMT
    [alt-svc] => h3-29=”:443″; ma=3600,h3-27=”:443″; ma=3600
    [content-length] => 74
    )
    body: {“events_received”:1,”messages”:[],”fbtrace_id”:”A0z8snBxc-P0N4-o4z7hDR3″}

    Etc. etc. etc. alot, long page

    AND another log: fatal-errors-2020-11-24-0350c7c03ff5d1c5942fca6b6b1f7714.log

    2020-11-23T00:38:23+00:00 CRITICAL Allowed memory size of 681574400 bytes exhausted (tried to allocate 10485760 bytes) in /var/www/nlkuns-fenoarivo/wordpress/current/wp-content/plugins/facebook-for-woocommerce/includes/fbproductfeed.php op de lijn 469

    2020-11-23T03:05:12+00:00 CRITICAL Allowed memory size of 681574400 bytes exhausted (tried to allocate 1310720 bytes) in /var/www/nlkuns-fenoarivo/wordpress/current/wp-includes/class-wp-object-cache.php op de lijn 446

    When we try to sync, it loads like 2/3 minutes and then says:
    There was an error syncing the products with Facebook.

    Hi @fcujorick2,

    Tamara here, stepping in for Marcus. I’m happy to help here. ??

    Thank you for sending over the log files. It looks like your site is still running into out of memory errors.

    Would you please head to WooCommerce > Status and let me know what value appears next to “WordPress memory limit”?

    Thanks,

    Tamara

    Thread Starter fcujorick2

    (@fcujorick2)

    650 MB

    Hi @fcujorick2,

    Thanks so much for confirming that for me! Would you please try adding the following line to your wp-config.php file and try syncing products again?

    
    define('WP_MEMORY_LIMIT', '1024M');
    

    If the above doesn’t address the issue, would you please reach out to our support team through our site sharing a link to this thread so our team can have a closer look into this issue?

    Thanks,

    Tamara

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Server Sending Invalid Match Key Parameters for AddToCart Event’ is closed to new replies.