Authentication issue adding module
P
Paul McCudden
Hello! Not sure if a support email would be better for this, but this is what I found. I'm attempting to set up my first server with Devin. I'm adding my first module and after entering in the FM user and password I get an authentication failed followed by a message with a JSON error.
I have double checked many times that there is no encryption key and that the user name and password are correct.
P
Paul McCudden
Hi David,
Thank you for the response! Here are my answers:
Both app and server are 1.2.0-public.
Yes, the admin console credentials have been added and the status is "OK"
Yes, Data API is enabled on the server.
I have attached screenshots which should help prove my answers as well. Please let me know if there's anything I'm missing.
David Wollesen
Paul McCudden This seems to be an issue with accessing your file via the FM Data API. Seems like either the Data API has crashed, there's an issue reaching the Data API, or something is breaking the API request to the Data API. Here's a list of things to try, in this order:
- Ensure that the file's full access account has the fmrest extended privilege enabled.
- If your file's full access account password includes any special characters, try to change it and see if that solves the issue.
- If Restricted Access is enabled in FM Admin Console, try to add "localhost" and 127.0.0.1 to the IP list.
- Try to restart the FileMaker Database Server (it could seem like the Data API has crashed)
- Advanced: If you have experience with tools like Postman, try and see if you can authenticate with the file through that, and what response you get from the Data API.
For further debugging, please send us the two log files that you find in Program Files/Devin/logs to support@devin.fm.
P
Paul McCudden
David Wollesen it's always the most obvious answer, haha. fmrest was not enabled. Once I enabled that it started working. Thank you for the help!
David Wollesen
Hi Paul,
Thank you for the report. A few questions to help me understand were things could have gone wrong:
- What version of Devin App and Devin Server are you using?
- Have you added Admin Console credentials for FileMaker Server in the Settings -> Servers window?
- Can you ensure that the FileMaker Data API is enabled on the server?