MatrixError
An error that occurs when computing matrices.
-
-
There is no network connection available to perform the network request.
-
The server returned a response that isn’t correctly formatted.
-
The server returned an empty response.
-
The API did not find a route for the given coordinates. Check for impossible routes or incorrectly formatted coordinates.
-
Unrecognized profile identifier.
Make sure the
MatrixOptions.profileIdentifier
option is set to one of the predefined values, such asMatrixProfileIdentifier.automobile
. -
The API recieved input that it didn’t understand.
Make sure the number of approach elements matches the number of waypoints provided, and the number of waypoints does not exceed the maximum number per request.
-
Too many requests have been made with the same access token within a certain period of time.
Wait before retrying.
-
Unknown error case. Look at associated values for more details.