What's new in Customer Journeys?

Connect and learn more! ×
Integration between OIC and Coupa > Ability to send Attachment via REST API — Cloud Customer Connect
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

Integration between OIC and Coupa > Ability to send Attachment via REST API

Received Response
357
Views
2
Comments

Summary:

Integration between OIC and Coupa > Ability to send Attachment via REST API

Content (required):

Hello All,

I am trying to send file attachment from OIC to Coupa via REST API: I am getting this exception:

Unauthorized401<![CDATA[POST https://pgn-test2.coupahost.com/api/requisitions/23738/attachments/ returned a response status of 401 Unauthorized]]><![CDATA[.The 401 error message is usually returned by services that requires user credentials

Please find attached the configuration

The config performed in OIC is similar to what is provided in https://docs.oracle.com/en/cloud/paas/integration-cloud/rest-adapter/implement-integration-which-base64-encoded-string-incoming-message-must-be-sent-external-rest-api-.html

I have performed another test: In the mapper, if I don't specify Attachment Properties > Content Type (=image/pgn) (refer to previous doc. attachment), I got the following exception:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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