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

Error in REST endpoint trying to get PDF attachment

Accepted answer
12
Views
2
Comments
edited Sep 12, 2023 5:37PM in Integration Cloud HR Guides and Templates 2 comments

In my integration, I’m trying to download the packing slip attached to the shipment. I’ve been able to get the attachmentsuniqid for the correct attachment, but I’m having trouble getting the stream to save into a file.

I’m using the REST Endpoint. Here’s the Response tab, which shows the URI and how I have it configured to receive the payload:

If I use Postman to send the command it returns a binary stream that I can save as a .pdf file, and it will open in Acrobat. When I execute the integration, it fails on this REST endpoint with the error:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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