> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# developerConnectionTest

> Send the connection's test request now and say whether the server accepts its credentials. Returns null when the store has no connection with that id. A failed test is a result with `ok: false`, not an error.

**Required scopes:** [`developer_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-developer_write)

## Arguments

**id** `ID!` *required*

The connection's `id`.

## Returns

**developerConnectionTest** `[DeveloperConnectionTestResult](/docs/api-reference/v3/reference/developer/developer-connection-test-result)`

What one connection test found.

**fields**

**code** `String`

Why the test failed, such as `CREDENTIALS_REJECTED`, `UNEXPECTED_STATUS`, `NO_TEST_PATH`, `UNREACHABLE` or `TLS_ERROR`. Null when it passed.

**durationMs** `Int!` *required*

How long the test took, in milliseconds.

**message** `String!` *required*

What happened, without the response body or any secret.

**ok** `Boolean!` *required*

Whether the server accepted the request.

**status** `Int`

The server's HTTP status, when it answered.

## Example

```graphql theme={null}
mutation {
  developerConnectionTest(id: "...") {
    code
    durationMs
    message
    ok
    status
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.