and more in a single search tool across platforms. Read the announcement here. |
03/11/2024 05:37 AM
Hi all,
I'm trying make API calls to test if our connections are working or not.
When I navigate to a connection in the UI and select Save & Test Connection, it returns Connection was Successful.
However when I try to make an API call using testConnection, I don't get the same results:
The API user has ROLE_ADMIN assigned to it and I've tried doing this for multiple connections and each time it returns Connection Failed
Am I doing something wrong?
Thanks
Solved! Go to Solution.
03/11/2024 07:59 AM - edited 03/11/2024 08:04 AM
Hi @AliW ,
1. Can you try passing the body in raw -> json format
2. Can you share the logs once hit the call in postman
03/11/2024 08:34 AM
Thanks @PremMahadikar ,
I just compared your URL to mine and can see that it is ECM/api/v5.testConnection. Adjusting to this has worked for me.
Thank you!
03/11/2024 07:38 PM
Correct URL.
{{URL}}/ECM/{{path}}/testConnection