• i can’t upload products to facebook, always get ( Permission error: (#200) The app is not whitelisted to use this API ) error! how can i fix it ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    sorry for the delay on this.

    If you still have the same error when trying to create a new product catalog, please find the error in the “Logs” tab and download the report for that error. Then, post here the content of the report so I can try to check some other info.

    Thanks!

    Thread Starter islamfotouh

    (@islamfotouh)

    ---- Report: -001-11-30T00:00:00+00:00 ----
    
    Exception: PixelCaffeine\Admin\Exception\FBAPIException
    
    --------------------
    
    Message: Permission error: (#200) The app is not whitelisted to use this API
    
    ---- Context ----
    
    Array
    (
        [code] => 400
        [$_REQUEST] => Array
            (
                [pll_ajax_backend] => 1
                [product_catalog] => Array
                    (
                        [file_name] => 
                        [config] => Array
                            (
                                [google_category] => Array
                                    (
                                        [0] => Electronics
                                        [1] => Electronics Accessories
                                        [2] => Mobile Phone & Tablet Tripods & Monopods
                                    )
    
                                [fb_enable] => yes
                                [fb_action] => schedule-new
                                [schedule-new] => Array
                                    (
                                        [fb_product_catalog_name] => WC_Catalog_2021
                                        [fb_product_feed_schedule_interval] => DAILY
                                        [fb_product_feed_schedule_interval_count] => 1
                                        [fb_product_feed_schedule_day_of_week] => SUNDAY
                                        [fb_product_feed_schedule_hour] => 3
                                        [fb_product_feed_schedule_minute] => 20
                                    )
    
                                [schedule-update] => Array
                                    (
                                        [fb_product_catalog_id] => 
                                        [fb_product_catalog_name] => 
                                        [fb_product_feed_name] => 
                                        [fb_product_feed_schedule_interval] => DAILY
                                        [fb_product_feed_schedule_interval_count] => 1
                                        [fb_product_feed_schedule_day_of_week] => SUNDAY
                                        [fb_product_feed_schedule_hour] => 3
                                        [fb_product_feed_schedule_minute] => 20
                                    )
    
                                [image_size] => full
                                [chunk_limit] => 500
                                [sku_instead_id] => yes
                                [filter_by_type] => 
                                [filter_by_category] => 
                                [filter_by_tags] => 
                                [filter_by_stock] => 
                                [map_brand_field] => Smartkoshk | ????? ???
                                [map_condition_field] => new
                                [map_description] => full-description
                                [map_price] => price-no-tax
                                [map_custom_label_0_field] => 
                                [map_custom_label_1_field] => 
                                [map_custom_label_2_field] => 
                                [map_custom_label_3_field] => 
                                [map_custom_label_4_field] => 
                            )
    
                        [selected_addon] => woocommerce
                    )
    
                [_wpnonce] => f79343bed2
                [_wp_http_referer] => /wp-admin/admin.php?page=aepc-settings&tab=product-catalog
                [action] => aepc_save_product_catalog
                [woocommerce-login-nonce] => 
                [woocommerce-reset-password-nonce] => 
            )
    
        [response] => Array
            (
                [headers] => Requests_Utility_CaseInsensitiveDictionary Object
                    (
                        [data:protected] => Array
                            (
                                [content-type] => application/json
                                [content-length] => 147
                                [date] => Fri, 05 Feb 2021 03:22:02 GMT
                                [x-amzn-requestid] => b42c8c80-3b9f-4b9f-8436-b81f3ce4030c
                                [x-amz-apigw-id] => aQH6HGpUoAMF_KA=
                                [x-amzn-trace-id] => Root=1-601cb9da-256fd2c517e71ca670c8c6ec;Sampled=0
                                [x-cache] => Miss from cloudfront
                                [via] => 1.1 e0bc02299b03254b2a35b8c930f005c6.cloudfront.net (CloudFront)
                                [x-amz-cf-pop] => FRA6-C1
                                [x-amz-cf-id] => 6E3sgN81u-5DWWcG9fGsk9RES7lP0cTAjKwHblV-A66NmeCJi8GKVw==
                            )
    
                    )
    
                [body] => {"error":{"message":"(#200) The app is not whitelisted to use this API","type":"OAuthException","code":200,"fbtrace_id":"Ap2XWjx6T1WdIM29-Km9eJ2"}}
                [response] => Array
                    (
                        [code] => 200
                        [message] => OK
                    )
    
                [cookies] => Array
                    (
                    )
    
                [filename] => 
                [http_response] => WP_HTTP_Requests_Response Object
                    (
                        [response:protected] => Requests_Response Object
                            (
                                [body] => {"error":{"message":"(#200) The app is not whitelisted to use this API","type":"OAuthException","code":200,"fbtrace_id":"Ap2XWjx6T1WdIM29-Km9eJ2"}}
                                [raw] => HTTP/1.1 200 OK
    Content-Type: application/json
    Content-Length: 147
    Connection: close
    Date: Fri, 05 Feb 2021 03:22:02 GMT
    x-amzn-RequestId: b42c8c80-3b9f-4b9f-8436-b81f3ce4030c
    x-amz-apigw-id: aQH6HGpUoAMF_KA=
    X-Amzn-Trace-Id: Root=1-601cb9da-256fd2c517e71ca670c8c6ec;Sampled=0
    X-Cache: Miss from cloudfront
    Via: 1.1 e0bc02299b03254b2a35b8c930f005c6.cloudfront.net (CloudFront)
    X-Amz-Cf-Pop: FRA6-C1
    X-Amz-Cf-Id: 6E3sgN81u-5DWWcG9fGsk9RES7lP0cTAjKwHblV-A66NmeCJi8GKVw==
    
    {"error":{"message":"(#200) The app is not whitelisted to use this API","type":"OAuthException","code":200,"fbtrace_id":"Ap2XWjx6T1WdIM29-Km9eJ2"}}
                                [headers] => Requests_Response_Headers Object
                                    (
                                        [data:protected] => Array
                                            (
                                                [content-type] => Array
                                                    (
                                                        [0] => application/json
                                                    )
    
                                                [content-length] => Array
                                                    (
                                                        [0] => 147
                                                    )
    
                                                [date] => Array
                                                    (
                                                        [0] => Fri, 05 Feb 2021 03:22:02 GMT
                                                    )
    
                                                [x-amzn-requestid] => Array
                                                    (
                                                        [0] => b42c8c80-3b9f-4b9f-8436-b81f3ce4030c
                                                    )
    
                                                [x-amz-apigw-id] => Array
                                                    (
                                                        [0] => aQH6HGpUoAMF_KA=
                                                    )
    
                                                [x-amzn-trace-id] => Array
                                                    (
                                                        [0] => Root=1-601cb9da-256fd2c517e71ca670c8c6ec;Sampled=0
                                                    )
    
                                                [x-cache] => Array
                                                    (
                                                        [0] => Miss from cloudfront
                                                    )
    
                                                [via] => Array
                                                    (
                                                        [0] => 1.1 e0bc02299b03254b2a35b8c930f005c6.cloudfront.net (CloudFront)
                                                    )
    
                                                [x-amz-cf-pop] => Array
                                                    (
                                                        [0] => FRA6-C1
                                                    )
    
                                                [x-amz-cf-id] => Array
                                                    (
                                                        [0] => 6E3sgN81u-5DWWcG9fGsk9RES7lP0cTAjKwHblV-A66NmeCJi8GKVw==
                                                    )
    
                                            )
    
                                    )
    
                                [status_code] => 200
                                [protocol_version] => 1.1
                                [success] => 1
                                [redirects] => 0
                                [url] => https://wca-connector.adespresso.com/prod/request
                                [history] => Array
                                    (
                                    )
    
                                [cookies] => Requests_Cookie_Jar Object
                                    (
                                        [cookies:protected] => Array
                                            (
                                            )
    
                                    )
    
                            )
    
                        [filename:protected] => 
                        [data] => 
                        [headers] => 
                        [status] => 
                    )
    
            )
    
    )
    
    ---- Serialized Context ----
    
    a:3:{s:4:"code";i:400;s:9:"$_REQUEST";a:7:{s:16:"pll_ajax_backend";s:1:"1";s:15:"product_catalog";a:3:{s:9:"file_name";s:0:"";s:6:"config";a:21:{s:15:"google_category";a:3:{i:0;s:11:"Electronics";i:1;s:23:"Electronics Accessories";i:2;s:40:"Mobile Phone & Tablet Tripods & Monopods";}s:9:"fb_enable";s:3:"yes";s:9:"fb_action";s:12:"schedule-new";s:12:"schedule-new";a:6:{s:23:"fb_product_catalog_name";s:15:"WC_Catalog_2021";s:33:"fb_product_feed_schedule_interval";s:5:"DAILY";s:39:"fb_product_feed_schedule_interval_count";s:1:"1";s:36:"fb_product_feed_schedule_day_of_week";s:6:"SUNDAY";s:29:"fb_product_feed_schedule_hour";s:1:"3";s:31:"fb_product_feed_schedule_minute";s:2:"20";}s:15:"schedule-update";a:8:{s:21:"fb_product_catalog_id";s:0:"";s:23:"fb_product_catalog_name";s:0:"";s:20:"fb_product_feed_name";s:0:"";s:33:"fb_product_feed_schedule_interval";s:5:"DAILY";s:39:"fb_product_feed_schedule_interval_count";s:1:"1";s:36:"fb_product_feed_schedule_day_of_week";s:6:"SUNDAY";s:29:"fb_product_feed_schedule_hour";s:1:"3";s:31:"fb_product_feed_schedule_minute";s:2:"20";}s:10:"image_size";s:4:"full";s:11:"chunk_limit";s:3:"500";s:14:"sku_instead_id";s:3:"yes";s:14:"filter_by_type";s:0:"";s:18:"filter_by_category";s:0:"";s:14:"filter_by_tags";s:0:"";s:15:"filter_by_stock";s:0:"";s:15:"map_brand_field";s:30:"Smartkoshk | ????? ???";s:19:"map_condition_field";s:3:"new";s:15:"map_description";s:16:"full-description";s:9:"map_price";s:12:"price-no-tax";s:24:"map_custom_label_0_field";s:0:"";s:24:"map_custom_label_1_field";s:0:"";s:24:"map_custom_label_2_field";s:0:"";s:24:"map_custom_label_3_field";s:0:"";s:24:"map_custom_label_4_field";s:0:"";}s:14:"selected_addon";s:11:"woocommerce";}s:8:"_wpnonce";s:10:"f79343bed2";s:16:"_wp_http_referer";s:58:"/wp-admin/admin.php?page=aepc-settings&tab=product-catalog";s:6:"action";s:25:"aepc_save_product_catalog";s:23:"woocommerce-login-nonce";N;s:32:"woocommerce-reset-password-nonce";N;}s:8:"response";a:6:{s:7:"headers";O:42:"Requests_Utility_CaseInsensitiveDictionary":1:{s:7:"?*?data";a:10:{s:12:"content-type";s:16:"application/json";s:14:"content-length";s:3:"147";s:4:"date";s:29:"Fri, 05 Feb 2021 03:22:02 GMT";s:16:"x-amzn-requestid";s:36:"b42c8c80-3b9f-4b9f-8436-b81f3ce4030c";s:14:"x-amz-apigw-id";s:16:"aQH6HGpUoAMF_KA=";s:15:"x-amzn-trace-id";s:50:"Root=1-601cb9da-256fd2c517e71ca670c8c6ec;Sampled=0";s:7:"x-cache";s:20:"Miss from cloudfront";s:3:"via";s:64:"1.1 e0bc02299b03254b2a35b8c930f005c6.cloudfront.net (CloudFront)";s:12:"x-amz-cf-pop";s:7:"FRA6-C1";s:11:"x-amz-cf-id";s:56:"6E3sgN81u-5DWWcG9fGsk9RES7lP0cTAjKwHblV-A66NmeCJi8GKVw==";}}s:4:"body";s:147:"{"error":{"message":"(#200) The app is not whitelisted to use this API","type":"OAuthException","code":200,"fbtrace_id":"Ap2XWjx6T1WdIM29-Km9eJ2"}}";s:8:"response";a:2:{s:4:"code";i:200;s:7:"message";s:2:"OK";}s:7:"cookies";a:0:{}s:8:"filename";N;s:13:"http_response";O:25:"WP_HTTP_Requests_Response":5:{s:11:"?*?response";O:17:"Requests_Response":10:{s:4:"body";s:147:"{"error":{"message":"(#200) The app is not whitelisted to use this API","type":"OAuthException","code":200,"fbtrace_id":"Ap2XWjx6T1WdIM29-Km9eJ2"}}";s:3:"raw";s:630:"HTTP/1.1 200 OK
    Content-Type: application/json
    Content-Length: 147
    Connection: close
    Date: Fri, 05 Feb 2021 03:22:02 GMT
    x-amzn-RequestId: b42c8c80-3b9f-4b9f-8436-b81f3ce4030c
    x-amz-apigw-id: aQH6HGpUoAMF_KA=
    X-Amzn-Trace-Id: Root=1-601cb9da-256fd2c517e71ca670c8c6ec;Sampled=0
    X-Cache: Miss from cloudfront
    Via: 1.1 e0bc02299b03254b2a35b8c930f005c6.cloudfront.net (CloudFront)
    X-Amz-Cf-Pop: FRA6-C1
    X-Amz-Cf-Id: 6E3sgN81u-5DWWcG9fGsk9RES7lP0cTAjKwHblV-A66NmeCJi8GKVw==
    
    {"error":{"message":"(#200) The app is not whitelisted to use this API","type":"OAuthException","code":200,"fbtrace_id":"Ap2XWjx6T1WdIM29-Km9eJ2"}}";s:7:"headers";O:25:"Requests_Response_Headers":1:{s:7:"?*?data";a:10:{s:12:"content-type";a:1:{i:0;s:16:"application/json";}s:14:"content-length";a:1:{i:0;s:3:"147";}s:4:"date";a:1:{i:0;s:29:"Fri, 05 Feb 2021 03:22:02 GMT";}s:16:"x-amzn-requestid";a:1:{i:0;s:36:"b42c8c80-3b9f-4b9f-8436-b81f3ce4030c";}s:14:"x-amz-apigw-id";a:1:{i:0;s:16:"aQH6HGpUoAMF_KA=";}s:15:"x-amzn-trace-id";a:1:{i:0;s:50:"Root=1-601cb9da-256fd2c517e71ca670c8c6ec;Sampled=0";}s:7:"x-cache";a:1:{i:0;s:20:"Miss from cloudfront";}s:3:"via";a:1:{i:0;s:64:"1.1 e0bc02299b03254b2a35b8c930f005c6.cloudfront.net (CloudFront)";}s:12:"x-amz-cf-pop";a:1:{i:0;s:7:"FRA6-C1";}s:11:"x-amz-cf-id";a:1:{i:0;s:56:"6E3sgN81u-5DWWcG9fGsk9RES7lP0cTAjKwHblV-A66NmeCJi8GKVw==";}}}s:11:"status_code";i:200;s:16:"protocol_version";d:1.1;s:7:"success";b:1;s:9:"redirects";i:0;s:3:"url";s:49:"https://wca-connector.adespresso.com/prod/request";s:7:"history";a:0:{}s:7:"cookies";O:19:"Requests_Cookie_Jar":1:{s:10:"?*?cookies";a:0:{}}}s:11:"?*?filename";N;s:4:"data";N;s:7:"headers";N;s:6:"status";N;}}}
    Thread Starter islamfotouh

    (@islamfotouh)

    thanks for your reply
    check the log in the last reply

    Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    please, update the plugin to the latest version released a few days ago. I improved the log reports, so after updating could you please re-post the report of the issue? Thanks for the patience!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t Generate Catalog !’ is closed to new replies.