Hey there,
i have an integrated apigee portal which has few public accessible apis & api products and few restricted/private apis & api products.
Those api products are attached with respective Apps.
I have generated bearer access token using client/api key and secret key and using that token i’m trying to access resources of apigee portal url “https://syed-eval-oauth2appyprivateportal.apigee.io/portals/api/sites/syed-eval-oauth2appyprivateportal/liveportal/apis” using below curl command
curl -v -i -H ‘Content-Type: application/json’ -H ‘Authorization: Bearer db9EFys2FGWQ1uuGFqH0AQXMzuTU’ https://syed-eval-oauth2appyprivateportal.apigee.io/portals/api/sites/syed-eval-oauth2appyprivateportal/liveportal/apis
this command gives me below error message/ output
{“status”:“error”,“message”:“An unexpected error occurred (id: 527368721)”,“data”:null,“request_id”:null,“error_code”:“527368721”}
So, How to access private/restricted apis & apiProducts of apigee Portals using say curl.
Quick response will be appreciated.
Feel free to ask anything relevant about this issue which i might have forgotten to mention.
Thanks & Regards