I just got metadata api and I’m trying to connect it with my airtable and get data but it is not connecting and keeps throwing me errors.
HelloWorld = () => {
axios
.get(
"https://api.airtable.com/v0/mykey" + "/" + 'Table 1',
{ headers: { Authorization: "Bearer " + 'api-key-from-airtable' } },
)
.then(resp => console.log(resp))
.catch(error => console.log(error))
}
This throws the error of Error: Request failed with status code 404 and 404 not found.
I tried performing a GET request on postman as well but it still did not work.