You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OAuth Error - OAuth Custom Two Legged Flow

edited Mar 22, 2018 7:00AM in Integration

Summary

OAuth Error - OAuth Custom Two Legged Flow

Content

Hi Guys,

I'm Trying to create an integration using a connection who has a OAuth Custom Two Legged Flow configured.

I created the connection with success, but when the integration ran i got this error :

<errorCode>OSB-380001</errorCode><ICSfaultVar/><reason>Error sending bytes: java.lang.IllegalArgumentException: java.net.MalformedURLException

When i by curl i write the in this format

curl -X POST --header 'Content-Type: application/json-patch+json' --header 'Accept: application/json' -d '{"Nome":"Name", "Password": "Passs"}' 'http://api-preqa.****.AAA.com/api/Usuario/AutAPI'

and works.

I configured in ICS the OAuth using this format

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!