Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E_CANNOT_GET_METADATA: Unable to retrieve the "visibility" for file at location #215

Open
frangambin1 opened this issue Jun 16, 2022 · 1 comment

Comments

@frangambin1
Copy link

When trying to get the url of the image with attachment lite.

@attachment({ preComputeUrl: true, folder: 'avatars', disk: 'AzureStorage' }) public avatar: AttachmentContract | null

@HydraCOREY
Copy link

@frangambin1 I'm having the same issue.

  @attachment({ columnName: "File", folder: "news", preComputeUrl: true })
  public storedFile: AttachmentContract | null

Logger:

ERROR (backend/17): NewsPostsController.index :: CannotGetMetaDataException: E_CANNOT_GET_METADATA: Unable to retrieve the "visibility" for file at location "news/clm9bkh5d00xh0ha347csaz3v.png"

Data response on frontend:

data: Object { location: "news/clm9bkh5d00xh0ha347csaz3v.png", operation: "visibility", original: {} }

Have you figured this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants