fmdata icon indicating copy to clipboard operation
fmdata copied to clipboard

Add retry handling for Unauthorized responses when API Token is nearing expiration.

Open fuzzzerd opened this issue 3 years ago • 2 comments

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.

fuzzzerd avatar Feb 10 '21 16:02 fuzzzerd

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.

Zero14HSC avatar Jan 12 '22 10:01 Zero14HSC

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!

fuzzzerd avatar Jan 17 '22 15:01 fuzzzerd