The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
May 29, 2023 03:17 AM
Hi!
I follow Hello World tutorial step by step
All works fine except the releasing step:
>block release
Bundling... done
Uploading... Incomplete
Error: ❌ The block could not be found. Make sure your API key is correct and that you have access to the block.
Code: airtableApiBlockNotFound
What could be the reason of the issue and how can I fix this?
Thanks!
Solved! Go to Solution.
May 29, 2023 09:07 AM
As a first step, you might ensure your blocks-cli version is the latest as the switch from API keys to personal access tokens was made recently.
More info on the change here: https://support.airtable.com/docs/creating-and-using-api-keys-and-access-tokens
Then, check whether your Personal Access Token was created with the block:manage scope in Airtable.
https://airtable.com/developers/web/guides/personal-access-tokens
Finally, reset your API key with the following command:
block set-api-key [APIKEY]
May 29, 2023 09:07 AM
As a first step, you might ensure your blocks-cli version is the latest as the switch from API keys to personal access tokens was made recently.
More info on the change here: https://support.airtable.com/docs/creating-and-using-api-keys-and-access-tokens
Then, check whether your Personal Access Token was created with the block:manage scope in Airtable.
https://airtable.com/developers/web/guides/personal-access-tokens
Finally, reset your API key with the following command:
block set-api-key [APIKEY]
May 29, 2023 10:17 PM
Adding block:manage scope to the token fixed the issue.
Thanks!