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

media upload issue #4717

Closed
janvigabanilw opened this issue Dec 23, 2024 · 4 comments
Closed

media upload issue #4717

janvigabanilw opened this issue Dec 23, 2024 · 4 comments
Labels

Comments

@janvigabanilw
Copy link

Expected behavior: When using GraphQL APIs, if the media object has its type set to external and a url is provided, the media should be attached in the response.

Actual behavior: The media object is returning null in the response, and the image is not visible in the default localhost UI.
Screenshot from 2024-12-23 16-29-36

Related Issues:

Versions:

  • NodeJS: v18.12.1
  • NPM: 8.19.2
  • MongoDB: v7.0.4
  • Redis: v=7.4.1
  • Browser: chrome
  • OS: ubantu
@losowsky
Copy link
Member

Hi there, just to let you know that we've seen this and will take a look in the new year when the team returns.

@janvigabanilw
Copy link
Author

janvigabanilw commented Jan 7, 2025

Hi there, any update on this issue??

@losowsky
Copy link
Member

It's in our queue to investigate. Thanks for your patience.

@nick-funk
Copy link
Contributor

I have looked into this feature and it appears to be functional.

To use external media uploads, you will need to enable the EXTERNAL_MEDIA feature flag on your tenant.

The following graphQL query will enable that feature flag:

mutation {
  enableFeatureFlag(input: {
    clientMutationId: "1",
    flag: EXTERNAL_MEDIA
  }) {
    flags
  }
}

Hope that helps, best of luck!

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

No branches or pull requests

3 participants