I had the same issue, and my problem was that I was trying to call http://www.example.com instead of https://www.example.com, and my nginx server was trying to redirect the request from http to https, which preflight didn't like.