on ‎2023 May 19 12:39 PM
Getting the below error while making an HTTP outbound connection from CPI.
The same request for the HTTP call is working fine with Postman without any issues.
Error Details
java.lang.IllegalArgumentException: only ' ' and '\t' are allowed after '\n': <?xml version="1.0" encoding="UTF-8"?>
Also, I did check 3234004 - Encrypted message sent from Cloud Integration via HTTP adapter fails with Error, but it didn't helped either.
Request clarification before answering.
You have newline character in your test XML before XML declaration. Remove that/blank line from XML and you should be good.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.