My Business
1.7K members online now
1.7K 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
1 ACCEPTED SOLUTION

Accepted Solutions
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

View solution in original post

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

Getting error 403 while aceesing any API

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

Hi Shalini,
The mentioned above url is not working.

Thanks

Jay Voralia

Re: Getting error 403 while aceesing any API

Google Employee
# 4
Google Employee

Hi @Jay V,

 

The url I mentioned in the previous post is a scope for the Google My Business API: https://www.googleapis.com/auth/plus.business.manage

 

Please explain what issues you are experiencing?

 

Thanks,

The Google My Business API team