Maritime 2.0 sometimes returns error message along with the vessels details in 200 (OK) response
-
Maritime 2.0 (GraphQL) is designed to return partial responses which means the following (and also means that his behavior is expected)
-
response from a Maritime 2.0 (GraphQL) server is always 200 OK
-
response can contain errors as well as partial data response.
-
-
For example (attached screenshot below)
service being temporarily unavailable error message in return for some Vessels likely means that something went wrong with the vessels data matching which is why vessels are returning error in the response but some of them have responded successfully.