Handling [object Object]

Twice in the last month there has been a question about how to handle [object Object] when adding an API response to a record comment.

@jacquelynmay answered the last one here with:

Use JSON.stringify([response])

which is exactly correct and beautifully succinct. However, for those who may want a more detailed explanation, I have made a video guide:

8 Likes

I love and appreciate the amount of time you freely invest to help others.

4 Likes

HI @Jason,

thank you so, so much for this amazing showcase :blue_heart:
This question has actually come up for us quite a few times in the past as well. We really appreciate how thoroughly and clearly you explained it here, perfectly structured as always.

We will definitely point people directly to your post in the future whenever this topic comes up. It is honestly spot on. Thank you very, very much for the effort you put into this, and also for the excellent video guide you created.

Best regards and many thanks again,
Leo

2 Likes