Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Getting an "Invalid Scope" for OAuth 2.0 after uploading the same proxy bundle

Hello,

I need help with regards the apigee oauth 2.0 scope. I added the scope in API Products with this format: "urn:sample:api" but I am getting below error response:

 

 

{
    "fault": {
        "faultstring": "Required scope(s): [urn:sample:api]",
        "detail": {
            "errorcode": "steps.oauth.v2.InsufficientScope"
        }
    }
}

 

 

Instead of this sample response:

 

 

{
    "error_code": "403",
    "error_summary": "forbidden",
    "error_description": "InsufficientScope"
}

 

 

 

Thank you for any assistance/help on this.

2 3 650
3 REPLIES 3