c# - Getting facebook ads api error in .net -
i'm using facebook ads api .net , when catch error, message same general error:
(facebookapiexception - #100) invalid parameter
it happens since moved versioned calls (v2.2) - before used unversioned calls , fine.
for example, how error (using regular try catch in c#)
try { var result = facebookclient.post("v2.2/act_" + accountid + "/adgroups", parameters) idictionary<string, object>; } catch (exception ex) { throw ex; // error should in ex.message }
is there way extract real error message exception?
thanks help. dived issue , it's not facebook problem. problem in third party sdk.
i contacted development team, aware of issue , started fixing it.
Comments
Post a Comment