Skip to main content
renekreijveld
Sep 27, 2024 7:56 AM UTC
Solved

User created document through API but cannot view it

We have a user that created a document through the API by posting to the https://api.lucid.co/documents endpoint. We get a reply and in the reply there is an editUrl and a viewUrl.
But when the user tries the viewUrl the following message is displayed:

Sorry, you don't have permission to access this document. Request access, or switch to an account with access.

How is this possible?

renekreijveld
Sep 27, 2024 9:45 AM UTC

Solved it! When accepting the App invite I was logged in with the wrong account. Therefor the documents were always created with my account and not with the correct user.

Comments

renekreijveld
renekreijveldAuthorAnswer
Sep 27, 2024 9:45 AM UTC

Solved it! When accepting the App invite I was logged in with the wrong account. Therefor the documents were always created with my account and not with the correct user.

Translate