Error when trying to add API token

Hi,
I get this error when i try to add my API token from Coda to my google scripts library.

“The project key is invalid, please make sure this is the right key.”

Can someone point me in the right direction to fix this?

thanks

Hi @Johnny_Ung, the library ID you need to add to Google Apps Script is separate from your API token. Here is Coda’s library ID to enter in Resources->Libraries (explained in the API docs here):

15IQuWOk8MqT50FDWomh57UqWGH23gjsWVWYFms3ton6L-UHmefYHS9Vl.

You use your API token in the script itself to authenticate your account:

CodaAPI.authenticate('abcd1234-efgh-5678-ijkl-1234mnop5678')