The error is when you get to the “Call REST” action, so it looks like it’s the remote REST service you are calling that is returning the error.
I would suggest setting the log level of the “REST Consume” log node up to “TRACE”. This will log the full request and response so hopefully you can see if the request looks correct.
Hi Ahmed,
Isn't this the pattern you need:
In that case in the first call you don’t map to the FileDocument, but to a temporary intermediate entity just to capture the url.
In the second call you do not use a mapping, but you only retrieve the file using the url you received in the first call.
The type in your case will be Files_Attachment.
I hope this helps.