My Business
2.2K members online now
2.2K members online now
For developers who are using the Google My Business API to manage locations
Guide Me
star_border
Reply

Getting error 403 while aceesing any API

[ Edited ]
Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

HI Team,

 

Could you please help me here  I am getting 403 error while accessing any API for Google my business.

 I am using the same JAVA code which is available in google my business API (https://developers.google.com/my-business/content/set-up-java-client).

Is there any thing that I have do extra. I have already added the .json file path and data store directory.

 

is there any thing that needs to be added in code like SCOPE.?

 

Any help on this would be much appreciated.

 

 

below is the error :

{
  "code" : 403,
  "errors" : [ {
    "domain" : "global",
    "message" : "Request had insufficient authentication scopes.",
    "reason" : "forbidden"
  } ],
  "message" : "Request had insufficient authentication scopes.",
  "status" : "PERMISSION_DENIED"
}

 

 

1 Expert replyverified_user
Marked as Best Answer.
Solution
Accepted by topic author mKonnekt D
July

Re: Getting error 403 while aceesing any API

Google Employee
# 2
Google Employee

Hi @mKonnekt D,

 

The Google My Business API requires the following OAuth 2.0 scope:

https://www.googleapis.com/auth/plus.business.manage

 

Thanks,

Shalini, The Google My Business API team