Issue renaming files

I had an issue this morning when trying to rename individual files via the FileMaker Server tab. The first 2 files I renamed worked, but after that I noted an error which I believe was simply “unable to rename file” , and also “unknown error”.

The first time I encountered the error, the rename did actually work. The second and subsequent times it did not. I noted it did take quite some time to rename the file or return error.

The otto-info log file has these entries as the most recent, which I assume are tied to the issue:

2024-07-31T22:33:41.989Z	info	Local Admin API error: Fetch failed: Not Found code: 1700 - Resource doesn't exist; Path: /fmi/admin/api/v2/databases/55; Waiting 15 seconds and trying again
2024-07-31T22:33:57.033Z	info	Admin API token refreshed
2024-07-31T22:40:20.859Z	info	web app login successful
2024-07-31T22:41:54.117Z	info	Local Admin API error: Fetch failed: Not Found code: 1700 - Resource doesn't exist; Path: /fmi/admin/api/v2/databases/56; Waiting 15 seconds and trying again
2024-07-31T22:42:09.172Z	info	Admin API token refreshed
2024-07-31T22:46:07.688Z	info	Local Admin API error: Fetch failed: Not Found code: 1700 - Resource doesn't exist; Path: /fmi/admin/api/v2/databases/57; Waiting 15 seconds and trying again
2024-07-31T22:46:22.762Z	info	Admin API token refreshed
2024-07-31T22:47:01.057Z	info	Local Admin API error: Fetch failed: Not Found code: 1700 - Resource doesn't exist; Path: /fmi/admin/api/v2/databases/58; Waiting 15 seconds and trying again
2024-07-31T22:47:16.100Z	info	Admin API token refreshed
2024-07-31T22:47:48.491Z	info	Local Admin API error: Fetch failed: Not Found code: 1700 - Resource doesn't exist; Path: /fmi/admin/api/v2/databases/59; Waiting 15 seconds and trying again
2024-08-01T01:31:58.742Z	info	Admin API token refreshed
2024-08-01T01:31:58.753Z	info	Admin API token refreshed

Hey Daniel,

That is strange, it seems like FileMaker is not recognizing the id. its possible that the id is getting changed when we rename the other files, I can try testing this on my side and see what I find. Thanks for the report!!

-Kyle

1 Like

Hey Daniel,

I believe that I have fixed this issue with OttoFMS version 4.7.0, but let me know if you hit it again! its a difficult issue to reproduce on my side, but I haven’t been able to make it happen after the most recent updates I made to the rename functions.

Thanks for the report!

-Kyle

1 Like

Will do, thanks @kduval

1 Like