Do you hear that little motor run at the last moment when the lid is down but not pulled in tight? If you don't, that may be the cause.I have the same issue with my tailgate 9 out of 10 it will not close fully and will make fail alert sound. Doesn't matter if I push the close button or close and lock. Interestingly if I then open a door (any) the tailgate will immediately latch (everytime). I can then reclose door and touch handle to lock car. Has to be a software thing and it is really annoying. I took it in to dealer and service manager tried it and it failed every single time. When I went to pick it back up they said nope works great no issues. Arg, I asked Service Manager WTF and he just shrugged his shoulders and said it never failed during techs testing. So sure as **** it worked when I checked it at dealer. As soon as I got home tried again and yep fails every flippin time, arg. Clearly this is a pretty common issue so why do they not know how to fix it?