Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP API Communication Error 22 driving me crazy!!??

Featured Replies

I have this same solution I'm installing to 3 separate FM servers, but on one of them I can't get passed this Communication Error 22 for some reason.

Quote

Communication Error: (22) The requested URL returned error: 403 Forbidden - This can be due to an invalid username or password, or if the FMPHP privilege is not enabled for that user.

The error says it's the username or password, but it is imply not.  I am using as basic as it gets with a username of "php" and a password of "1111".  I also tried my regular admin account, but I get the same problem.

I do have the FMPHP privilege set for both of these accounts...

 filemaker-priv-set.jpg

The server is on Windows with a fresh update of Java and then a fresh install of FMS14.  Deployment seems to go smoothly, and everything shows nice green lights.  The CWP test page loads just fine, too, which you can see in these images...

filemaker-cwp-test.jpg

 

filemaker-server-deployment.jpg

I have also forwarded all of the ports that should be open for this machine.

filemaker-ports-forwarded.jpg

I am able to use Open Remote and open files from this server within FM Pro, but for some reason I cannot get the PHP API connection to work on this server.  

Again, I have the same thing setup on multiple servers.  Here is a working example that spits out the available data sources.  Here is the exact same test script that is hitting my other FileMaker server at a different location, but it's returning the error.

I can't think of what else to look at. Any information on how I can get this working would be greatly appreciated.  Thanks!

Edited by angelleye

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.