mardi 21 avril 2015

product catalog api fail

need help. I tried to start with http://ift.tt/1DOICmF created account. Approved it by phone. created a business account, an ad account, an app, and so on. linked app to ad accont like this http://ift.tt/1Dcmj5Q. Now i tried to create product catalog. i am getting same error all the time:

 The app is not whitelisted to use this API

i tried to call api to cteate/list/managment product catalog. when i did, the same by UI - i can create product catalog & feed. but by API - all time error. i do not understand what it need?

now try to create product set:

GET /<product_catalog ID>/product_sets/?
access_token=<my access token from app with full rights get from exploer>
{
  "error": {
    "message": "(#200) The app is not whitelisted to use this API",
    "type": "OAuthException",
    "code": 200
  }
}

try to create the same:

POST : /v2.3/<product_catalog ID>/product_sets/?access_token=<my access token from app with full rights get from exploer>&name=my new prod set
{
  "error": {
    "message": "(#275) Ad account cannot be determined for this request",
    "type": "OAuthException",
    "code": 275
  }
}

So what Are the changes i needed to make it work?

is it any way to made api calls work correctly?

p.s. i guess something wrong in settings - i run unit tests in SDK - have the same situation. i have read about that problems with game app - but my app - is not a game, so i cant use solution in my situation. if some body understand what whitelist API want - please help! Thanks.

Aucun commentaire:

Enregistrer un commentaire