Forum Academy Marketplace Showcase Pricing Features

Matching Option set Type with an API response

Hello guys, have anyone of you already tried to match a response API object to an Option Set Type and succeeded ?

I want to match categories of items to my list of categories (as option set).

Example : API response " category : ‘CAT1’ " initialized as type Category (option set type).
My option set Category has 5 entries from CAT1 to CAT5 (named in their “display” attribute). Unfortunately , when calling the request I always get an empty value on this object, so I assume Bubble doesn’t manage to match the response to an entry in my option set.

So, is it even possible to do so , and if it is, what am I doing wrong ?


Hi Arthur,
Did you find a solution to your problem?

Hi Steve,
Unfortunately I didn’t … I guess the only solution at the moment is by using the database for that kind of data.

Hi Arthur,

Got it thank you for your answer.

Hey @arthur.kieffer , I’m not sure if this is what you need but I stumbled upon this thread and thought I’d try to help.

Is it possible to have your options exist in the DB and as an option set? That way your API call can match the DB but you can filter by options in the UI? I read/watched this thread last night and it details how to do that.

Let me know if that’s helpful or if I’ve misunderstood your question.