Hi Diogo Diogo,
One of the most frequent causes of the "File import error" you're getting while trying to fine-tune GPT-4 in Azure AI Foundry is that the file is not saved in the proper JSONL format. Make sure that the 'travel-finetune-hotel.jsonl' file is correctly formatted, with every line containing a valid JSON object. This is essential for the import process to be successful.
One more reason is that you are using fine-tuned GPT-4o instead of fine-tuned GPT-4.
We also made an attempt from our side and achieved a successful outcome.
Also, the error message you saw indicates that perhaps there is a problem with the subscription identifier. I would suggest verifying your Azure subscription and resource group settings to make sure they are properly configured. Making sure you have proper permissions to access the resources is also crucial.
If you continue to experience difficulties, please don't hesitate to share any additional details or screenshots of the error, and I'll be glad to assist you further.
If you have found the answer provided to be helpful, please click on the "Upvote and Accept Answer" button so that it is useful for other members in the Microsoft Q&A community.