I'm not able to read the label on the folic clearly in these pictures.
You need to take 500 MICROgrams, not MILLIgrams, and certainly NOT GRAMS.
If that folic acid is measured in 500 GRAMS throw it in the garbage and get a different folic acid. 500 GRAMS of folic acid is a massive overdose.
Micrograms are sometimes shown in a strange symbol that looks like a funny u with a g, like this: ug only the u has a stick pointing down from it. It looks to me like there is that symbol on your medication, I just cannot see it clearly enough to be certain. In this Wikipedia you can see the symbol written down more clearly
https://en.wikipedia.org/wiki/Microgram
I ~think~ what the label is saying, is that it is 500 ug (micrograms) and if you measured it out to equal 100 grams then it would be 581,500 mcg. This doesn't mean that ONE pill has that much, but if you measured 100 grams of pills (which would be many pills' worth), it would be that much. This seems to me to be a very very silly and confusing label (not to mention that I cannot see it clearly enough to be certain) but that's what it seems to be saying.
So I suspect that this dose is indeed 500 mcg but I can't be 100% certain looking at that picture.