952 ERROR POST /fmi/data/vLatest/databases/API_integrations.fmp12/layouts/OttoReceiver/records
What causes 952 Error in the fmdapi log?
I found this from Claris:
“There may be URLs or parts of URLs where text case doesn’t matter, but in general, treat URLs as if they are case sensitive. For example, if you use a lowercase database name to log in to a database session, continue to use a lowercase database name for all subsequent URLs that pass the same session token. Otherwise, you may receive an invalid token error message.”
I have confirmed that notificationUrl I have sent with the webhook subscription matches the case of the file name as used when creating the API key [which also matches the actual filename exactly] as well as the layout name.
Thanks for any insights!
Colleen
Hi Colleen
952 is the error that is logged when the Data API is called with an invalid sessions token.
When you are using OttoFMS for webhooks and/or the Data API key features, OttoFMS manages the API session for you. One of the ways it does this is to automatically refresh the session and retries the request if an error like 952 or 401 is encountered. So… seeing 952 may mean nothing at all. OttoFMS would have detected the error and retried the query again after getting a new session.
Is your webhook getting through? You should be able to set in the otto-receiver.log
Let us know
Todd
Thanks Todd!
Yes, the webhook is getting through when I see those entries in the log.
I started digging into the logs when my webhooks stopped coming through [these errors were from an earlier date] and wanted to understand.
Thans again!