Skip to main content
Solved

block release using PAT?

  • July 1, 2024
  • 1 reply
  • 0 views

I'm developing a Block Extension. When I type block release I get

  • "Error: Your Airtable API key is invalid. Please use block set-api-key to update it. Code: airtableApiWithInvalidApiKey"

Since api keys are deprecated (I have deleted my key and can't create a new one) I have created a personal access token. But I can't get it to work with block release; running block set-api-key <my-personal-access-token> returns

  • "Error: Invalid Airtable API key specified. Make sure you copied it correctly from airtable.com/account. Code: airtableApiKeyMalformed"

How do I use my PAT with Blocks?

 
 

Best answer by Olafur_Petursso

Ok, the trick was to use the (log) saved PAT but not the short displayed in PAT list. 

When a PAT is created you're asked to save the key in a secure place since it will never be displayed again. I created the key many moons ago and totally forgot that part.

View original
Did this topic help you find an answer to your question?

1 reply

  • Author
  • New Participant
  • 3 replies
  • Answer
  • July 1, 2024

Ok, the trick was to use the (log) saved PAT but not the short displayed in PAT list. 

When a PAT is created you're asked to save the key in a secure place since it will never be displayed again. I created the key many moons ago and totally forgot that part.


Reply