In facebook marketing api leadgen_context_cards edge is not accepting cover_photo
2

request data: array(9) { ["cover_photo"]=> object(CURLFile)#62 (3) { ["name"]=> string(21) "/home/web/fb_ad/4.jpg" ["mime"]=> string(10) "image/jpeg" ["postname"]=> string(2) "11" } ["name"]=> string(12) "nametest_127" ["questions"]=> string(148) "[{"type":"CUSTOM","key":"question5","label":"What is your favorite color?","options":[{"value":"Red","key":"key1"},{"value":"Green","key":"key2"}]}]" ["follow_up_action_url"]=> string(25) "https://www.facebook.com/" ["privacy_policy"]=> string(63) "{"url":"https:\/\/www.facebook.com\/","link_text":"link_texts"}" ["context_card"]=> string(39) "{"title":"titles","content":"contents"}" ["question_page_custom_headline"]=> string(8) "headline" }

response: {"error":{"message":"An unexpected error has occurred. Please retry your request later.","type":"OAuthException","is_transient":true,"code":2,"fbtrace_id":"A35luM7FYL-k9_RUPFcIbim"}}

How should I modify it?

Xiao Lu
Asked about 3 months ago