3D printer filament should generally be stored in a dry place. Started rolls, for example, together with a few packs of dry granules can be put in a foil, which in turn should be stored in a box closed with a lid. If the filament does become damp, there are now special dehumidifiers available on the market. So you don't have to dispose of the material immediately.