fmdata
fmdata copied to clipboard
Add retry handling for Unauthorized responses when API Token is nearing expiration.
Is your feature request related to a problem? Please describe.
When the FileMaker API Token expires, requests return unauthorized.
Describe the solution you'd like
The FMData handlers should re-try the action after refreshing the token.
I have a problem that's related to this i think, my web service gives an anauthorized error when I restart the filemaker server. To get things working again I must restart the web service also.
That would make sense if FileMaker Server doesn't persist tokens, and this would indeed solve that issue. I have a few other projects going on at the moment, so I don't know if I'll get to this issue immediately (you can see it's been here for a minute), so if you wanted to submit a PR addressing this issue I'd be glad to work with you to get it integrated!