This is mostly likely due to a missing key from the repository you are trying to add. By default, Ubuntu uses apt-key to verify every repository for checked packages, including the built-in Canonical repositories and any third-party PPAs from Launchpad. This does not apply to any non-Canonical and Launchpad repository, so you need to first find the official signing key for the repository you are trying to add.