So are you trying to use the same SFP on both ends or ones that work in each device. some manufacturers will only allow approved sfp to work in their products.
i have found just make sure the type (SX, SR, LRM, LR, or LX) and Wavelength are the same.
i have some devices that i have to a specific brand in only while my Meraki devices i can use a lot of different ones. but still try to keep them all the same ones.