Coda API 404 Error: “Doc does not exist or is inaccessible” despite correct docId and scoped token
Hello everyone,
I’m running into a persistent 404 when trying to fetch my document via the Coda API:
curl -X GET https://coda.io/apis/v1/docs/dk81YzlMt1b \
-H "Authorization: Bearer <MY_TOKEN>"
I have:
- Generated a personal API token (Read & Write) scoped to my document at
https://coda.io/d/Renans-Coda-Playground_dk81YzlMt1b
- Confirmed I’m logged into the same Coda account that owns/edits that doc
- Verified that
dk81YzlMt1b
is the exactdocId
from my document URL - Ensured my token is formatted as
Authorization: Bearer <token>
with no extra spaces
Despite all of that, the API response is:
{
"errorMessage": "The resource you are requesting could not be found",
"errorDescription": "Doc does not exist or is inaccessible."
…
}
Has anyone else faced this issue? What else can I check or try to get the API to recognize and return my document? Any insights would be greatly appreciated!
Thanks in advance,
Renan