Thank you for your reply.
Got it working now. Actually the type of the ACF was an image instead of URL. When I tested it with the URL field type then it seems to be exporting the file fine with the image url in it. Providing the link to replicate the issue was really helpful.
Thank you