Invalid Base64 Response Returned When Querying More than One Attachment Data Via Rest API
(Doc ID 2986942.1)
Last updated on NOVEMBER 17, 2023
Applies to:Siebel Public Sector Service - Version 22.10 and later
Information in this document applies to any platform.
Retrieve Attachments using Siebel Rest API works for more than one smaller attachments or one big attachment.
However with more than one attachments and one being larger file (3MB) returns invalid response in the Rest API response-Attachment Id field as bellow:
Also following errors found in AI container logs: catalina.output and catalina.YYYY-MM-DD.log
java.lang.IllegalStateException: getWriter() has already been called for this response
The issue can be reproduced at will with the following steps, for more details on how to use "Inbound REST API requests" refer to Inbound REST Attachments Support And Examples (Doc ID 2896634.2)
1. Create an Account, attach 2 files (1 can be small, another big)
2. Query attachments via a Business Service, provide the IO name in the request body
3. Note that for one file attachment id is correctly generated for the other one it is generate:
a. One file attachment id is correctly generated showing the following:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document