I am trying to make a REST call in an Automation to the Organizations API to retrieve information about a user.
My URL looks like this:
https://api.atlassian.com/admin/v2/orgs/<org_id>/directories/-/users?searchTerm=<email>
I have removed the org_id and email for obvious reasons
When I put this URL into Postman, it works as expected. When I put the URL into "Send Web Request" action in A4J, I get an "Invalid web request url" error.
Any ideas why it fails in A4J but works in Postman?