Can you post the actual reaction or at least a partial structure?
With 30 mg, don't use any of it. You are at the stage that you need to run model compounds to ensure the reaction is going to work before you common any of your 30 mg. At least to increase the odds. Either that, or start from scratch again. We don't know if you just used a bad reagent, solvent, technique, etc. Errors come in all shapes and sizes. You need to ensure there wasn't one.