After several hours file still being processed and is not ready to be used for fine-tuning

For me the error occurred because of two reason, first the format of my JSONL and second one is
I gave my api key as
api_key=“mykey”

later I noticed that I need to do
openai.api_key=“mykey” to authenticate