Facing issue to create trigger
const options = {
url:
'https://anywheredevwebhost.azurewebsites.net/api/TokenAuth/ConvertEncryptPasswordForTesting?pwd="5454454""',
method: "GET",
headers: {
Authorization:
"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxIiwibmFtZSI6ImFkbWluIiwiQXNwTmV0LklkZW50aXR5LlNlY3VyaXR5U3RhbXAiOiJQWUpETlhWREpaQkpOTVhTSTZCQTdQMk5DQk40RENUTyIsInJvbGUiOiJBZG1pbiIsImp0aSI6IjRjN2RiMGFmL…….",
Accept: "application/json",
},
params: {},
};
return z.request(options).then((response) => {
response.throwForStatus();
const results = response.json; // You can do any parsing you need for results here before returning them
return results;
});
Getting the error:
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/135b4a51-7fec-4f11-9ea1-59e6f9360ff6.png)
When I am calling same API in postman, it returns a valid output but I’m having issues with Zapier could you please help.
Thanks in advance