If you are getting an 'Invalid User ID' error while publishing a content, it is because the account of the user you tagged in your content is a private account.

Unfortunately Instagram API only allow to tag public Instagram users in a photo.

Please remove the user you tagged and try publishing your content again.