Ginger root and migraines and sport

Hello everyone, I am wondering if the ginger powder can actualy cause migraines?

Because as I do some sport walking of some weightlifting and dring this ginger root pills I get a headaches.

So if anybody have any information please share.

Because ginger is thought to be anti headaches.