Spicy knows nothing about Broker so your issue is elsewhere, but it is impossible to tell where from the information you have shared. If you would share a minimal example we might be able to help you, see e.g., here for how to create a good example.
Please invest your time to reduce your example as much as possible and do not share your full code like in other questions. This increases the chances of you getting the help you are looking for by a lot.
FTR, a previous discussion was Packet processing doubt in spicy parser and zeek broker.