• noradesio

    (@noradesio)


    Hi, I have a problem with the plugin, it seems that everything works but I receive this error:
    Something went wrong during the connection with Facebook API.

    What can I do?
    Thank you

    —- Report: 2020-06-10T10:43:22+00:00 —-

    Exception: PixelCaffeine\Admin\Exception\FBAPIException

    ——————–

    Message: Something went wrong during the connection with Facebook API. Please, try to refresh the page.

    —- Context —-

    Array
    (
    [code] => 500
    [$_REQUEST] => Array
    (
    [action] => aepc_get_pixel_stats
    [_wpnonce] => b9eaff0b98
    )

    [response] => Array
    (
    [headers] => Requests_Utility_CaseInsensitiveDictionary Object
    (
    [data:protected] => Array
    (
    [content-type] => application/json
    [content-length] => 72
    [date] => Wed, 10 Jun 2020 10:43:22 GMT
    [x-amzn-requestid] => 1abd9f6f-1856-463f-bcf9-9a234a692681
    [x-amz-apigw-id] => N6HjnG67IAMFp5Q=
    [x-amzn-trace-id] => Root=1-5ee0b94a-6366baf8b9f6b1e8fcbab1b4;Sampled=0
    [x-cache] => Error from cloudfront
    [via] => 1.1 121c88058ec4bc13c2348ddff26afc99.cloudfront.net (CloudFront)
    [x-amz-cf-pop] => MXP64-C2
    [x-amz-cf-id] => yQlteJFoYlzVyNYrQ4wuaXPQL4EQcV-2ILZcBBTrbTCQjEXEtcC5Mw==
    )

    )

    [body] => {"errorType":"string","errorMessage":"500 Application Error","trace":[]}
    [response] => Array
    (
    [code] => 500
    [message] => Internal Server Error
    )

    [cookies] => Array
    (
    )

    [filename] =>
    [http_response] => WP_HTTP_Requests_Response Object
    (
    [response:protected] => Requests_Response Object
    (
    [body] => {"errorType":"string","errorMessage":"500 Application Error","trace":[]}
    [raw] => HTTP/1.1 500 Internal Server Error
    Content-Type: application/json
    Content-Length: 72
    Connection: close
    Date: Wed, 10 Jun 2020 10:43:22 GMT
    x-amzn-RequestId: 1abd9f6f-1856-463f-bcf9-9a234a692681
    x-amz-apigw-id: N6HjnG67IAMFp5Q=
    X-Amzn-Trace-Id: Root=1-5ee0b94a-6366baf8b9f6b1e8fcbab1b4;Sampled=0
    X-Cache: Error from cloudfront
    Via: 1.1 121c88058ec4bc13c2348ddff26afc99.cloudfront.net (CloudFront)
    X-Amz-Cf-Pop: MXP64-C2
    X-Amz-Cf-Id: yQlteJFoYlzVyNYrQ4wuaXPQL4EQcV-2ILZcBBTrbTCQjEXEtcC5Mw==

    {"errorType":"string","errorMessage":"500 Application Error","trace":[]}
    [headers] => Requests_Response_Headers Object
    (
    [data:protected] => Array
    (
    [content-type] => Array
    (
    [0] => application/json
    )

    [content-length] => Array
    (
    [0] => 72
    )

    [date] => Array
    (
    [0] => Wed, 10 Jun 2020 10:43:22 GMT
    )

    [x-amzn-requestid] => Array
    (
    [0] => 1abd9f6f-1856-463f-bcf9-9a234a692681
    )

    [x-amz-apigw-id] => Array
    (
    [0] => N6HjnG67IAMFp5Q=
    )

    [x-amzn-trace-id] => Array
    (
    [0] => Root=1-5ee0b94a-6366baf8b9f6b1e8fcbab1b4;Sampled=0
    )

    [x-cache] => Array
    (
    [0] => Error from cloudfront
    )

    [via] => Array
    (
    [0] => 1.1 121c88058ec4bc13c2348ddff26afc99.cloudfront.net (CloudFront)
    )

    [x-amz-cf-pop] => Array
    (
    [0] => MXP64-C2
    )

    [x-amz-cf-id] => Array
    (
    [0] => yQlteJFoYlzVyNYrQ4wuaXPQL4EQcV-2ILZcBBTrbTCQjEXEtcC5Mw==
    )

    )

    )

    [status_code] => 500
    [protocol_version] => 1.1
    [success] =>
    [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:500;s:9:"$_REQUEST";a:2:{s:6:"action";s:20:"aepc_get_pixel_stats";s:8:"_wpnonce";s:10:"b9eaff0b98";}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:2:"72";s:4:"date";s:29:"Wed, 10 Jun 2020 10:43:22 GMT";s:16:"x-amzn-requestid";s:36:"1abd9f6f-1856-463f-bcf9-9a234a692681";s:14:"x-amz-apigw-id";s:16:"N6HjnG67IAMFp5Q=";s:15:"x-amzn-trace-id";s:50:"Root=1-5ee0b94a-6366baf8b9f6b1e8fcbab1b4;Sampled=0";s:7:"x-cache";s:21:"Error from cloudfront";s:3:"via";s:64:"1.1 121c88058ec4bc13c2348ddff26afc99.cloudfront.net (CloudFront)";s:12:"x-amz-cf-pop";s:8:"MXP64-C2";s:11:"x-amz-cf-id";s:56:"yQlteJFoYlzVyNYrQ4wuaXPQL4EQcV-2ILZcBBTrbTCQjEXEtcC5Mw==";}}s:4:"body";s:72:"{"errorType":"string","errorMessage":"500 Application Error","trace":[]}";s:8:"response";a:2:{s:4:"code";i:500;s:7:"message";s:21:"Internal Server Error";}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:72:"{"errorType":"string","errorMessage":"500 Application Error","trace":[]}";s:3:"raw";s:575:"HTTP/1.1 500 Internal Server Error
    Content-Type: application/json
    Content-Length: 72
    Connection: close
    Date: Wed, 10 Jun 2020 10:43:22 GMT
    x-amzn-RequestId: 1abd9f6f-1856-463f-bcf9-9a234a692681
    x-amz-apigw-id: N6HjnG67IAMFp5Q=
    X-Amzn-Trace-Id: Root=1-5ee0b94a-6366baf8b9f6b1e8fcbab1b4;Sampled=0
    X-Cache: Error from cloudfront
    Via: 1.1 121c88058ec4bc13c2348ddff26afc99.cloudfront.net (CloudFront)
    X-Amz-Cf-Pop: MXP64-C2
    X-Amz-Cf-Id: yQlteJFoYlzVyNYrQ4wuaXPQL4EQcV-2ILZcBBTrbTCQjEXEtcC5Mw==

    {"errorType":"string","errorMessage":"500 Application Error","trace":[]}";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:2:"72";}s:4:"date";a:1:{i:0;s:29:"Wed, 10 Jun 2020 10:43:22 GMT";}s:16:"x-amzn-requestid";a:1:{i:0;s:36:"1abd9f6f-1856-463f-bcf9-9a234a692681";}s:14:"x-amz-apigw-id";a:1:{i:0;s:16:"N6HjnG67IAMFp5Q=";}s:15:"x-amzn-trace-id";a:1:{i:0;s:50:"Root=1-5ee0b94a-6366baf8b9f6b1e8fcbab1b4;Sampled=0";}s:7:"x-cache";a:1:{i:0;s:21:"Error from cloudfront";}s:3:"via";a:1:{i:0;s:64:"1.1 121c88058ec4bc13c2348ddff26afc99.cloudfront.net (CloudFront)";}s:12:"x-amz-cf-pop";a:1:{i:0;s:8:"MXP64-C2";}s:11:"x-amz-cf-id";a:1:{i:0;s:56:"yQlteJFoYlzVyNYrQ4wuaXPQL4EQcV-2ILZcBBTrbTCQjEXEtcC5Mw==";}}}s:11:"status_code";i:500;s:16:"protocol_version";d:1.1000000000000001;s:7:"success";b:0;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;}}}

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

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

    (@antoscarface)

    Hi,

    it seems a temporary issue. Please, try to use the plugin as normal, trying to create custom audience and check the stats graph in the dashboard of pixel caffeine.

    If the issue persists, try to reset the Facebook connection, following these steps:

    1. Go into your Facebook account -> Settings -> Business integrations, find the app Pixel Caffeine and remove it (don’t worry, you won’t lose anything);
    2. Go in the admin of the plugin -> General Settings
    3. Open the “Advanced Box” box at the bottom of the page
    4. Scroll down and click into the button “Reset Facebook Connection” (again, you won’t lose anything)
    5. Make a new Facebook login and confirm all permissions

    Then, re-connect again your Facebook account.

Viewing 1 replies (of 1 total)

The topic ‘FBAPIException error’ is closed to new replies.