• 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

  • Databuzz releases fmESignature Link (Docusign Edition) v2 – Integrate the Claris FileMaker Platform with DocusignJune 9, 2026 - 6:00 am

    Databuzz today announced fmESignature Link (Docusign Edition) v2, a major update to their FileMaker solution that integrates with the Docusign eSignature platform. fmESignature Link (Docusign Edition) is a FileMaker solution that integrates between the Claris FileMaker Platform and Docusign. Docusign is one of the most popular electronic signature platforms and helps organisations connect and automate […]

  • Changes to the Xero Developer PricingMarch 24, 2026 - 8:24 pm

    In December 2025 Xero announced that they were making changes to their pricing and policies for the  Xero Developer Platform, including moving to a new usage-based pricing effective March 2, 2026. New apps created in the Xero Developer portal will default to the free Starter tier and existing apps will be migrated starting mid March, […]

  • Tickets for Reconnect.Christchurch 2026 Now AvailableMarch 16, 2026 - 8:20 am

    The Reconnect Claris FileMaker Developer conference is back again in 2026 and this year we’re heading outside of Australia to Christchurch, New Zealand. The conference will be held in the Christchurch Town Hall, located on the banks of the Avon River in central Christchurch on 15-16 October, 2026. Tickets for the conference are on sale […]

  • Updating DocuSign Envelope Templates from FileMakerDecember 18, 2025 - 9:28 am

    When we first released our fmESignature Link (DocuSign Edition) solution we included support for working with DocuSign Templates. DocuSign Templates are perfect for almost any Docusign workflow that you do over and over again, for example sending the same document/s to different recipients such as non-disclosure agreements and rental agreements. DocuSign Templates allow you to […]

  • Databuzz 2025 End of Year Xmas Sale – 20% Off All LicensesDecember 15, 2025 - 10:46 am

    The Databuzz End of Year Xmas Sale is now on. We only have one sale each year and for the next 2 weeks you can save 20% on all Product Licenses including: Use the coupon XMAS2025 at checkout on any purchase and the 20% discount will be applied to your order (excludes Maintenance products). The sale runs until the end of the day on […]

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

  • Databuzz releases fmESignature Link (Docusign Edition) v2 – Integrate the Claris FileMaker Platform with DocusignJune 9, 2026 - 6:00 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