Hello!
I’m working on an automation in Airtable to grab a review link when it’s created using a webhook. I’m running into an issue when the link has a password–it throws a 401 error with the message “Password Required”
Since I’m making the links that are being collected, is there a way around this? Perhaps entering the password in the query statement? When the review link does not have a password, everything works the way I want!
I’m using the standard code from the API documentation:
let inputConfig = input.config();
let reviewLinkId = inputConfig.reviewLinkId;
const query = new URLSearchParams({include: 'string'}).toString();
//const reviewLinkId = 'YOUR_review_link_id_PARAMETER';
const resp = await fetch(
`https://api.frame.io/v2/review_links/${reviewLinkId}?${query}`,
{
method: 'GET',
headers: {
Authorization: 'Bearer REDACTED',
},
}
);
const data = await resp.json();
console.log(data);
Thanks either way!