"Advanced Outgoing API - Invalid URL" error when saving External URL for Outgoing API

Article Details
URL: http://support.nanacast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=238
Article ID: 238
Created On: 20 Jul 2012 11:33 AM

Answer When attempting to supply an External URL for the Advanced Outgoing API option on the Notifications/Custom Fields page, the following error is returned:

Advanced Outgoing API - Invalid URL:
The address portion of the URL http://your.example.com/url/listed/here.php
could not successfully be loaded. You must be able to successfully load the URL in a browser in order to add it to the system

When adding a URL to the Advanced Outgoing API External URL field, Nanacast does a basic check to make sure the address is valid.
If you are getting this error, the issue is with the address in your URL. The address is the host/domain followed by the path to the file.

In this example, if http://your.example.com/url/listed/here.php doesn't load a page correctly (i.e., if it produces a server error), our system's check of the URL will fail.
Note: If you are adding variablesĀ to the API URLĀ in a query (example: http://your.example.com/url/listed/here.php?value1={u_email}&value2={u_lastname}) , the query portion of the URL-- the part after the question mark-- is NOT included in our system check. So when you are troubleshooting the address in your browser, you should remove the query (everything from the question mark to the end) and just test the address.

Until you are able to visit the address without your server producing a server error, our basic check will see this as not a valid URL.