• Shopping Cart Shopping Cart
    0Shopping Cart
Databuzz
  • Home
  • Services
    • FileMaker Development
    • FileMaker Integration
    • FileMaker Web Publishing
    • FileMaker Go for the iPhone and iPad
    • FileMaker Xero Integration
    • FileMaker WooCommerce Integration Specialists
    • FileMaker Shopify Integration Specialists
    • FileMaker DocuSign Integration Specialists
    • FileMaker MYOB AccountRight Integration
    • FileMaker MYOB Essentials Integration Specialists
  • Products
    • fmSMS
    • fmMMS
    • fmAccounting Link (Xero Edition)
    • fmAccounting Link (QuickBooks Online Edition)
    • fmEcommerce Link (WooCommerce Edition)
    • fmEcommerce Link (Shopify Edition)
    • fmESignature Link (Docusign Edition)
    • fmAccounting Link (MYOB AccountRight Edition)
    • fmAccounting Link (MYOB Essentials Edition)
  • Shop
  • Contact
    • Contact Databuzz
    • Support
    • Submit Testimonial
  • About Us
    • About Databuzz
    • Our Clients
    • Testimonials
    • Support
    • Databuzz Newsletter Signup
    • Terms and Conditions
    • Privacy Policy
  • News
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Blog - Latest News

FileMaker Admin API Authentication Issue

August 26, 2019/5 Comments/in API, FileMaker 18 Platform, FileMaker Admin API, News/by Andrew Duncan

Now that the FileMaker Admin API is a standard feature in FileMaker Cloud for AWS 1.18 and FileMaker Server 18 and no longer a trial* I’ve been incorporating certain parts of the Admin API into client solutions. For example it is often helpful to see how many users are logged into your solution and get a list of their Account Names without having to use the Admin Console, or provide non admin users with access to the Admin Console.

I recently encountered an issue when calling the List Clients endpoint to see who was currently connected to a particular FileMaker solution. It was generating a 1627 error (Authentication failed) when performing the Insert from URL script step. This was strange as the same script had been working successfully earlier in the day and in previous days. I double checked the credentials for the server that were being used in the API request and they were correct, and verified these by logging into the Admin Console.

I was a bit puzzled at this stage and ran through the script once more with the Script Debugger. I was saving the response from the Insert from URL script step into a local variable, and upon further examination I noticed this was recording the following response from the Admin API:

{
"response": {},
"messages": [
{
"code": "956",
"text": "Maximum number of Admin API sessions exceeded"
}
]
}

There were no other Admin API sessions in use at this point – the Admin Console wasn’t being used – which further confused things. Logging in to the Admin Console again I could see that the list of connected clients wasn’t correct. If you’ve been using the FileMaker Server Admin Console for a few years now you’re probably familiar with this situation and the need to periodically restart the Admin Server via the following command line interface command:

fmsadmin restart adminserver

Once the Admin Server had restarted I tried the Admin API request to list the currently connected clients and it was successfully this time, so the authentication error was misleading in this case. If you encounter this error and you’ve verified the credentials are correct I would just go and restart the Admin Server on the FileMaker Server using the command line option above.

* the FileMaker Admin API was a trial feature in FileMaker Cloud 1.17 and FileMaker Server 17 and that trial period will expire on September 27, 2019 after which the API will cease to operate

Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail
https://www.databuzz.com.au/wp-content/uploads/2014/07/databuzz-logo-small-300x88.png 0 0 Andrew Duncan https://www.databuzz.com.au/wp-content/uploads/2014/07/databuzz-logo-small-300x88.png Andrew Duncan2019-08-26 07:53:292019-08-26 07:57:17FileMaker Admin API Authentication Issue
5 replies
  1. Martin Kutter
    Martin Kutter says:
    September 23, 2019 at 7:39 pm

    Hi Andrew

    Thank you for sharing your experience.
    I can confirm this behaviour on FileMaker Server 18.02 as well.
    I am quite disappointed that the Admin API is not reliable and does not meet the common requirements.
    IMHO, an API should be available and work 100%. We always have to double check to ensure everything works as expected.
    Too bad that FileMaker is up until now not able to have a rock solid server available.

    But thanks, anyway for sharing your info.
    Regards. Martin

  2. Andrew Duncan
    Andrew Duncan says:
    September 24, 2019 at 7:58 am

    I’ve experienced this a few more times since as well. I was surprised that the Admin API could require the adminserver process to be restarted (not sure what happens with FileMaker Cloud vs FileMaker Server). I have to regularly restart the adminserver process as the Admin Console is showing out of date information (incorrect clients etc) – disappointed that the Admin API is also affected by this.

  3. Matt Larson
    Matt Larson says:
    June 3, 2022 at 1:26 am

    I was getting this error too, but then I realized that I was creating new tokens unnecessarily. I am wondering if you were getting this by creating new sessions / tokens instead of reusing the first token you generated?

    Perhaps helpful tidbit from the documentation (https://fmhelp.filemaker.com/docs/18/en/admin-api/index.html#authentication-fac-cac1):
    “Each time you use the Basic Authentication scheme to get an access token, a new API session is created. To avoid having multiple API sessions, use the same access token with the Bearer Authentication scheme for all API calls.”

  4. Andrew Duncan
    Andrew Duncan says:
    June 3, 2022 at 9:11 am

    Hi Matt – it’s been a while since I last looked into this issue, but from memory I would have been using the same token if it hasn’t expired as I use the same approach for calls to the FileMaker Data API.

  5. Matt Larson
    Matt Larson says:
    June 3, 2022 at 11:58 pm

    Interesting… It may have been a bug that has been fixed? Let’s go with that. 🙂

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest News

  • fmSMS Now Supports Mobile Message SMS GatewayOctober 12, 2026 - 8:30 am

    fmSMS, our FileMaker solution for sending and receiving SMS messages from the Claris FileMaker Platform, has been updated to support the Mobile Message SMS Gateway based in Australia. Mobile Message sends to Australian mobile numbers only – pricing starts at just 1.6¢ per SMS on your first purchase. You also get a free dedicated virtual number […]

  • fmMMS Updated to Support Additional MMS GatewaysJuly 22, 2026 - 11:24 am

    fmMMS, our FileMaker solution that lets you send and receive MMS messages from the Claris FileMaker Platform, has just been updated to include support for two additional MMS Gateways: Notifyre: based in Australia Notifyre is trusted by 20,000 Australian organisations and was named Australia’s Most Reliable SMS Provider for 2025. They support Australian and USA […]

  • Changes to MYOB Business API ScopesJuly 21, 2026 - 8:29 am

    MYOB have recently announced a change to the authentication scopes for MYOB Business API integrations commencing 1 September 2026. They are replacing the CompanyFile scope with more granular scopes to enhance data privacy and security.  All MYOB Business API integrations will need to update the scopes used to authenticate and re-authenticate to generate a new access token that […]

  • Changes to Xero Accounting API ScopesJuly 1, 2026 - 9:20 am

    Earlier this year Xero introduced a change to the authentication scopes for new Xero OAuth Apps that were created on or after March 2, 2026. They are replacing the previous broad scopes with more  granular scopes to give you more control and security. Xero OAuth Apps created on or after March 2, 2026 have been […]

  • fmSMS Now Supports Notifyre SMS GatewayJune 29, 2026 - 4:33 pm

    fmSMS, our FileMaker solution for sending and receiving SMS messages from the Claris FileMaker Platform, has been updated to support the Notifyre SMS Gateway based in Australia. The Notifyre SMS Gateway is trusted by 20,000 Australian organisations and was named Australia’s Most Reliable SMS Provider for 2025. You can download a trial version of fmSMS to […]

Newsletter Signup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

X Logo X Logo Followon X RSS Feed Logo RSS Feed Logo Subscribeto RSS Feed

Latest News

  • fmSMS Now Supports Mobile Message SMS GatewayOctober 12, 2026 - 8:30 am

Newsletter Signup

© Copyright Splash IT Consulting Pty Ltd T/A Databuzz | ABN 31 116 889 028
  • Link to X
  • Link to Facebook
  • Link to Rss this site
  • Home
  • Services
  • Products
  • Shop
  • Contact
  • About Us
  • News
Link to: Databuzz releases fmSMS v4 – Rewritten for the FileMaker 18 Platform Link to: Databuzz releases fmSMS v4 – Rewritten for the FileMaker 18 Platform Databuzz releases fmSMS v4 – Rewritten for the FileMaker 18 Platform Link to: FileMaker DevCon 2019 Recap Link to: FileMaker DevCon 2019 Recap FileMaker DevCon 2019 Recap
Scroll to top Scroll to top Scroll to top