StickyNote.style.fillColor is always "light_yellow" in REST API
Hello,
I’m using the REST API to request information from a board, using `GET /v2/boards/{board_id}/items`. I have some sticky notes in different colors in my board, however the returned `fillColor` in `style.fillColor` is always `light_yellow`, even if the sticky note has a different color. Other style properties (e.g. `textAlign`) work correctly - but the `fill_color` is always `light_yellow`.
I’ve implemented this functionality ~1 year ago, and it definitely worked back then - did something change that broke this, is this a bug or intended behavior? If intended, is there any other way to figure out the color of a sticky note?
I’m not quite sure why this is not working for you. If you start a new board and add in two stickies, with two different colors, and try this again, do you still face the same issue?
Hey @Horea Porutiu,
thanks for testing it (and the very fast response!) - unfortunately, I just tested it again and it still doesn’t seem to work for me.
I have the following board (created yesterday):
with sticky notes that are not light_yellow in my opinion.
I’ve just sent a request to
GET https://api.miro.com/v2/boards/uXjVI-C1UBA=/items?type=sticky_note
using the same accept and authorization header that you’re using. There, I get the following response:
I’ve tested it again and I was able to reproduce the issue. I’ll bring this to our eng team and I’ll update this thread once we find the problem. Thank you for bringing this problem up.
I have the same issue, in case you need an other example :-)
I also have the same, style.fillColor is always "light_yellow" in REST API
@Horea Porutiu I was wondering if you know, when this issue is fixed? Would be nice, if this is working again with the colours of the post-its coming from Miro Thank you for your update.
Hey @Sonja Margot and @xinxin
Our team will be looking at this in the next few days. Thank you for your patience. I will update this thread once it’s fixed. Sorry for the inconvenience.
Hey @Sonja Margot and @xinxin
Our team have just rolled out a fix for this issue. I’ve tested it and it works fine for me now. Thank you for your patience as we worked out this issue, and thank you for following back up with us.
Please let me know if you are still seeing issues with the color returned from our APIs.
@Horea Porutiu
Quick look on my Test Airtable and the colors of the sticky notes are displayed correctly! Thank you for the fix!