cancel
Showing results for 
Search instead for 
Did you mean: 

API / path parameters / VerifyAPIKey policy / Error

03-16-2025 2:16 PM
gpre7086 Explorer
362 views 1 comments
0 Likes
SAP Managed Tags
Labels
API Policy managementAPI Proxy
Subscribe
  • SAP Managed Tags

Hello Friends!

I've created an API proxy with a single resource defined with a path parameter. 

https://api-dev.cooldomain.com:443/v1/private/cart/{cart_id}/availability-check-url

It does route to the target iflow; however, when I add the VerifyAPIKey it fails the error far below.

This would generate the VerifyAPIKey error

https://api-dev.cooldomain.com:443/v1/private/cart/12068208/availability-check-url

This does not.

https://api-dev.cooldomain.com:443/v1/private/cart

I think my answer lies in this apigee documentation; however, I'm not able to reconcile the differences in terminology and screens 😞

https://docs.apigee.com/api-platform/publish/create-api-products#behavior-resource-path

Screenshots are below - any guidance would be appreciated.

Thank you  /Greg

Screen shots

gpre7086_0-1742130222646.png

 

{
    "fault": {
        "faultstring": "Invalid ApiKey for given resource",
        "detail": {
            "errorcode": "oauth.v2.InvalidApiKeyForGivenResource"
        }
    }
}

 

gpre7086_1-1742130394148.png

 

gpre7086_2-1742130413392.png

 

 

0 Likes

Accepted Solutions (0)

Answers (0)