Fixing missing or invalid application api token error message.