How to create a connector with Akamai EdgeGrid Autentication?

I have successfully created API get requests that work correctly within Postman. Unfortunately when I export my collection and try to create a connector in UiPath Cloud, it throws errors saying the authentication header is incorrect. I believe this is because the authentication is using Akamai’s EdgeGrid authentication https://techdocs.akamai.com/developer/docs/authenticate-with-edgegrid

Any ideas how to configure the connector to use this EdgeGrid authentication? Or is there another way to execute the API requests using UiPath studio?

I did try to use a UiPath Library and import the new service using the json exported from Postman. But i get a document is invalid error.

Any help is appreciated!

@david.rya.goderre1

You can directly try using http request activity and copy the curl for requests from postman and import them into http request and use it

Cheers

I did try this method as well. Unfortunately it gives me an error saying --location is not supported when I validate the copied curl from postman.

Any thoughts on that error?

@david.rya.goderre1

From the curl just remove —location and then import it would get imported without any errors

Cheers

so it does allow me to import it, however the authorization parameter is all blocked together (client token, access token, nonce, and signature)

the authentication drop down of the http request wizard has none, simple http, oauth1, and oauth 2, but not edgegrid. which i think it needs to get it to work.

here is edgegrid from postman.

@david.rya.goderre1

The import wizard will not import the collectiosn and your curl will have no info of the collections you create…you need to copy the required values

The authorization arguments will be created

Cheers

right i didnt copy in the collection. i copied in 1 of the requests. See screenshot of the curl i am copying

image

@david.rya.goderre1

I believe edge grid is a collection right…its not an auth type…it would fall under the optionyou see itself

Those are the only supported authentications

Cheers

Edgegrid is an authentication type. See this screenshot here of the request. this is the issue i am running into, it works from postman, but not from studio.

@david.rya.goderre1

Have just done some googling and can find a work around.may be you need to go with custom code instead of http request.As mentioned earlier only the authentications available in dropdown are supported

https://community.akamai.com/customers/s/article/OPEN-API-and-C-does-it-play-together?language=en_US

Cheers