Topic-icon Can't Proceed - API Error: (#5)

Active Subscriptions:

None
13 years 11 months ago #24262 by andmcg
I have my App ID correct, my Secret correct and my SCUI correct, but am getting an error:

Facebook API Error: (#5) Unauthorized source IP address
Facebook Application configuration could not be loaded. Please check your App ID and Secret Key

Per another post I read on here, I went to the facebook app/settings/advanced and:

-Made sure sandbox was disabled; and
-Made sure there was nothing in the security section.

Any ideas?
Thanks,
Andy
The topic has been locked.
Support Specialist
13 years 11 months ago #24281 by alzander
Andy,
If your app isn't in Sandbox and you haven't specified a IP Whitelist in the "Server Whitelist" area of your app, then it may be that Facebook has blocked the IP address your trying from. Is this a new application your setting up, and is your website new as well? It's possible that the previous website on that IP address made Facebook angry somehow and they blocked it.

Is it possible to try running your site from another server (even a backup on your local computer would help). That will help narrow things down a bit. If that doesn't work though, you may need to contact Facebook directly to have them look into the cause. We can give you the contact form, but I'll be honest that they aren't always speedy in getting back. Doing as much testing on your end would benefit you greatly.

Thanks, and sorry for the troubles,
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #24298 by andmcg
Wow, this doesn't sound like a great situation at all. I had a bunch of apps that I had used previously. I deleted those. I even rebuillt the app. I am still getting the same error. The site is at new IP address, though i'm not sure that should make a difference.

Would you send me the link for the the facebook form to send them this problem. I might as well submit it ASAP since it may take a while.

Also, if I put this on my localhost, what return URL do I put in the app on Facebook?

Thanks for your help and I hope you got to a enjoy a little of the fourth!

Andy
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #24322 by andmcg
I was able to get it to work on another site. Hmm, I guess I have to contact Facebook. If you would be kind enough to send along that link, I would be most appreciative.

Best,
Andy
The topic has been locked.
Support Specialist
13 years 11 months ago #24324 by alzander
Andy,
Below are some links to contact Facebook. Since your issue is specific to you, it wouldn't go into the 'general' bug spot, it'd go into something more user-specific, just so you know:
Overall listing of bug report places
www.facebook.com/KnownIssues?sk=app_4949752878

Best guess of where to submit this problem
www.facebook.com/help/contact/?id=244560538958131

On another note, one other suggestion you can try that may be much quicker... contact your hosting provider and see if they can switch your IP address. Usually, this is a routine endeavor (not always). As long as you explain that you think your IP has been blacklisted from somewhere *due to no fault of your own*, they're usually pretty receptive to those requests.

Finally, for more testing, if you want to test your current app on Localhost, just run Autotune on it and it will make the proper recommendations (hit the Refresh button at top). If it works on localhost, or another IP/host, that means it's the IP of your server. If it doesn't work anywhere, it means your app has somehow been banned (not common).

Best of luck, and keep us posted on what you find!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #24368 by andmcg
My hosting company is pointing me to the whitelist on the app and telling me to put my ip in that setting in advanced. However, when I try and do that and hit save I get an error on the app saying:

Error
Your IP should be included in the Server Whitelist.
Your IP should be included in the Update Settings IP Whitelist.

Any ideas?
The topic has been locked.
Active Subscriptions:

None
13 years 11 months ago #24369 by andmcg
They are telling me that the only way they can change my IP is to purchase an SSL and then they can give me my own IP address. Does that sound right to you?

Thanks,
Andy
The topic has been locked.
Support Specialist
13 years 11 months ago #24375 by alzander
Andrew,
It's a ridiculous system, frankly, but to add a IP Whitelist you need to add both the server's IP address and the IP address of the computer you are on to the IP Whitelist boxes. I'd recommend adding both IP addresses to both the Update Settings IP Whitelist: and Server Whitelist: boxes.

I'm still not sure that will fix the problem since if Facebook has blacklisted the IP address, it'd be too easy to get around that block by simply whitelisting yourself. If it works though, it's an easy solution and well worth testing.

As for getting your own IP address, what you say kind of explains why the IP is blacklisted. If your address is shared by many (sometimes thousands) of websites on a host, any one of those sites could have caused the block (and still may continuing to be blocking it). As for getting a dedicated IP for SSL, yes, that is generally how it works. An SSL certificate is tied to one IP address and usually that IP address can only go to one server. That server could host multiple websites, but usually just a handful.

If you don't need SSL, that may be a bit of a hassle and expense (if you're host requires you to buy it from them). However, if you plan to use the Canvas, Page Tab, or Requests feature of JFBConnect, an SSL certificate is required.

Hope that all helps, and good luck!
Alex
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24702 by andmcg
Well, I'm sorry to report that going the security certificate with my own IP hasn't worked either. I'm still getting the same error:

Facebook API Error: (#5) Unauthorized source IP address

Any other ideas? Thanks.

Andy
The topic has been locked.
Active Subscriptions:

None
13 years 10 months ago #24703 by andmcg
Your app is also telling me that I don't have a subscription ID. I just double-checked it and re-pasted it into the app just to make sure.

Thanks,
Andy
The topic has been locked.