It appears that you tried uploading a file that is not allowed for some reason. When uploading files that contain code you generally need to put them in a .zip file first. Or You can include code in a post by clicking on the code button or putting backticks around the code. It’s generally easier to help when code is correctly included in your comment using the code tags.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users