401 Unauthorized while deploying the bundle

Hello,

I have been trying to deploy sample proxies on APIGEE and getting 401 unauthorized error from Apigee.But I am able to log on to Apigee from the GUI without an issue.

I tried all most all the tools to import the zip file but getting the same issue .I reset my password and tried with that still no use.

Plz can someone help me?

fyi,here is the POST uri I am using to import my bundle : POST /v1/organizations/anantha/apis?action=import&name=mocktarget_v1 HTTP/1.1


By the way is there an option to import the proxy directly in the Edge?

Thanks

0 3 464
3 REPLIES 3

Hello @ananthaGuttha,

did you try to import your bundle in EDGE ?

"APIs" -> ''+ API Proxy" -> "Proxy bundle''

@ananthaGuttha , have you set the authorization header?

Hi @ananthaGuttha ,

You need to pass Authorization header with a value which is a Base64 encoded string of the following concatenated value username:password. Here the credentials are of an Edge user which either has an org admin role or any another role which has privileges to invoke the POST /v1/organizations/anantha/apis?action=import&name=mocktarget_v1 HTTP/1.1

There is an import option as well on Edge console.

5247-proxy.jpg