facebook / facebook-java-business-sdk

Java SDK for Meta Marketing APIs

Home Page:https://developers.facebook.com/docs/business-sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create AdCreatives erros

8Liu opened this issue · comments

commented

Which SDK version are you using?

[8.0.3,)

What's the issue?

create AdCreatives erros
{"error":{"message":"Invalid parameter","type":"OAuthException","code":100,"error_subcode":3858082,"is_transient":false,"error_user_title":"\u5e7f\u544a\u521b\u610f\u5fc5\u987b\u63d0\u4f9b enroll_status \u624d\u80fd\u4f7f\u7528\u6807\u51c6\u7f8e\u5316","error_user_msg":"\u6b64\u5e7f\u544a\u521b\u610f\u7b26\u5408\u4f7f\u7528\u6807\u51c6\u7f8e\u5316\u7684\u8d44\u683c\uff0c\u4f46\u672a\u63d0\u4f9b enroll_status\u3002\u8bf7\u9009\u62e9\u662f\u5426\u8981\u5f00\u542f\u6807\u51c6\u7f8e\u5316\u3002\u70b9\u6b64\u4e86\u89e3\u8be6\u60c5\uff1ahttps://fburl.com/hyth50xo","fbtrace_id":"A3tAlQsKGWzDnnmRIOLXte_"}}

Steps/Sample code to reproduce the issue

curl -X POST
-F 'object_story_id="<PAGE_ID><POST_ID>"'
-F 'access_token=<ACCESS_TOKEN>'
https://graph.facebook.com/v17.0/act
<AD_ACCOUNT_ID>/adcreatives
I use this demo to create adcreatives,but always response this error

Observed Results:

  • What happened? This could be a description, log output, etc.

Expected Results:

  • What did you expect to happen?