RichText return incomplete value

Hello,
I use field RichText but when I get the the value on my front end I dont'have a complete value.

Exemple :
My Riche text value :
Paragraph 1

Paragraph 2

Paragraph 3

And when I get rich text value I just have :
[ { "type": "paragraph", "text": "Paragraph 1", "spans": }]

If I create slice and I add rich text field, it's ok, I get this value :
[ { "slice_type": "text", "slice_label": null, "items": [ {} ], "primary": { "rich_text": [ { "type": "paragraph", "text": "Paragraph 1", "spans": }, { "type": "paragraph", "text": "Paragraph 2", "spans": }, { "type": "paragraph", "text": "Paragr", "spans": } ] } } ]

Can you help me ?
Thank you.

Hey @team.gmb.co,

Thanks for posting this question :slight_smile:

Can you tell me the name of your repo, and the UID and Custom Type of the document where you're having this problem? I'll try to reproduce the issue. (Feel free to send that info in a DM if you don't want to share it publicly.)

Best,
Sam

Hello @samlittlefair ,
Thank you for your return.

I got help from the chat.
I couldn't access the browser api.
Because from the back we have an address but not good:
https://my-repo.cdn.prismic.io/api/v2

You give me the correct link:
https://my-repo.prismic.io/api/v2/

After checking it is not a bug on your side but my side.
I am trying to find the solution.

1 Like

Great, let me know if you have any other questions :slight_smile:

Best,
Sam