|
Hi, a simple Find request on the exact, same database throws an exception "Cannot authenticate" on FMS 19 and 20 while on FMS 18 works fine. Under the debugger, the response code is 503 (200 on FMS 18) at line 214 in function "RefreshTokenAsync" of file "FileMakerRestClient.cs". |
Answered by
fuzzzerd
Apr 23, 2024
Replies: 2 comments 2 replies
|
Are you able to successfully perform Data API queries using Postman or Curl? HTTP 503 is a Service Unavailable which is not related to FMData, that is a server configuration issue. The RefreshTokenAsync checks for 200 and 401 responses and if it doesn't get one of those it throws a "Could not authenticate" exception. |
2 replies
Answer selected by
fuzzzerd
|
There was no issue really. FMS' Data API was left switched off. No problem with the code. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you able to successfully perform Data API queries using Postman or Curl? HTTP 503 is a Service Unavailable which is not related to FMData, that is a server configuration issue.
The RefreshTokenAsync checks for 200 and 401 responses and if it doesn't get one of those it throws a "Could not authenticate" exception.