facebook / facebook-java-business-sdk

Java SDK for Meta Marketing APIs
https://developers.facebook.com/docs/business-sdk
Other
393 stars 324 forks source link

create AdCreatives erros #434

Closed 8Liu closed 2 days ago

8Liu commented 11 months ago

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","fbtraceid":"A3tAlQsKGWzDnnmRIOLXte"}}

Steps/Sample code to reproduce the issue

curl -X POST \ -F 'object_story_id="_"' \ -F 'access_token=' \ https://graph.facebook.com/v17.0/act_/adcreatives I use this demo to create adcreatives,but always response this error

Observed Results:

Expected Results: