Skip to main content
Answer

User created document through API but cannot view it

  • September 27, 2024
  • 1 reply
  • 29 views

renekreijveld
Forum|alt.badge.img+5

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?

Best answer by renekreijveld

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
Forum|alt.badge.img+5
  • Author
  • Answer
  • September 27, 2024

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.