Hi Team,
Iam getting "Insufficient Permission" error while trying to fetch product Id and Product title from merchant center using content api.
Error is :
com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"message" : "Insufficient Permission",
"reason" : "insufficientPermissions"
} ],
"message" : "Insufficient Permission"
}
I have taken the details of credentials from a config file where i mentioned
"clientSecret": "xxxxxxxxxxxxx",
"merchantId": "xxxxxx",
"applicationName": "xxxxxx",
"refreshToken": "xxxxxxxxxxxxxxxxxxxxxxxxx"
I made a test run using the sample examples provided in the github, tried to run one of the sample example of "ProductGetSample" as a console application.
Request your help on this at the earliest.
Thanks in Advance
Srikanth