✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Facing error with dropdown

Can someone help me with this error:
Invalid argument options[0].label passed into Dropdown with ID “id_dropdown”.

This is how I have formatted the element:
dcc.Dropdown(id = ‘id_dropdown’,
options = [{‘label’ : x, ‘value’ : x} for x in s.values()],
placeholder = ‘Enter the ID of the User’,
),