Hello Guys! I need some help here, I am using javascript fetch call to get values from airtable, I want Specific field Values using filterByFormula filter…
I want only those fields where field name {TaskDate} = CurrentDate and field name {FK_UserUsageID} = PK_UserUsageID…
I see many topics about filterByFormula but i can’t understand them because of the high level formulas using in them. I try code:
fetch(airtableURL + baseInfo + tblSchedule + apikey+"?filterByFormula=AND({TaskDate} = “+ CurrentDate +”,{FK_UserUsageID} = “+PK_UserUsageID+”)")
.then(res => res.json())
.then(res => {
console.log(res)
})
but response is:
Object {
“error”: Object {
“message”: “Authentication required”,
“type”: “AUTHENTICATION_REQUIRED”,
},
}
I also use my apikey and all that needed. Please figure out my mistakes and tell me the solution.
Thanks in advance…