No one menioned that the weed should be dry before you store it in any airtight jar to cure. Never store wet cannabis in airtight containers as that will result in mold.

Dry it first, then use an airtight container. A pill bottle is not airtight.