Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Rich text upload value is null

default discord avatar
arctomachine2 years ago
5

I am trying to add uploads to rich text field. But its value is null when inspecting node with upload type.


Thumbnail is visible in editor (screenshot 1), link below thumbnail opens popup of this upload. But then it returns result as following


{
  children: [ { text: '' } ],
  type: 'upload',
  value: null,
  relationTo: 'media'
}

Upload collection has default settings.


Depth level in request params makes no difference (screenshot 2).



Why is it null and how to get url for this upload?

  • discord user avatar
    seanzubrickas
    2 years ago

    Hey

    @220641138267258892

    we'll get you an answer to this shortly! Stay tuned.

  • default discord avatar
    arctomachine2 years ago

    Looks like it was lack of read access on uploads collection

  • discord user avatar
    seanzubrickas
    2 years ago

    Ahh - so you got it sorted?

  • default discord avatar
    arctomachine2 years ago

    Yes, probably. It works in my current workflow now

  • discord user avatar
    seanzubrickas
    2 years ago

    great! Let us know if you run into anything else. We're trying to get through all our unanswered threads so that we make sure we don't miss anyone if they need help. Cheers!

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.