Oracle Error ORA-26887: Insufficient privileges to attach to XStream inbound server “string”.

Oracle Error Message

ORA-26887: Insufficient privileges to attach to XStream inbound server “string”.

Reason for the Error

Sufficient privileges were not granted to attach to the specified XStream inbound server.

Solution

Query DBA_XSTREAM_INBOUND view to get the apply_user value for the specified XStream outbound server. Then, modify the application to connect to the inbound server’s database using this value.