I’m getting the following error when trying to set up a connection to add an Azure Event Hub service as a Log source:
in my browser’s network log i see the following request to graphql:
{“query”:“mutation LoggingCreateApiKey($accountId: Int, $name: String, $notes: String) { apiAccessCreateKeys(keys: {ingest: {accountId: $accountId, ingestType: LICENSE, name: $name, notes: $notes}}) { createdKeys { key id __typename } errors { message … on ApiAccessIngestKeyError { id errorType __typename } __typename } __typename } }”,“variables”:{“name”:“Microsoft Azure Logging API Key”,“notes”:“Automatically created by Logging setup”}}
With this error as a response:
{
“errors”: [
{
“locations”: [
{
“column”: 100,
“line”: 1
}
],
“message”: “Argument “keys” has invalid value {ingest: {accountId: $accountId, ingestType: LICENSE, name: $name, notes: $notes}}.\nIn field “ingest”: Expected type “[ApiAccessCreateIngestKeyInput]”, found {accountId: $accountId, ingestType: LICENSE, name: $name, notes: $notes}.\nIn element #1: Expected type “ApiAccessCreateIngestKeyInput”, found {accountId: $accountId, ingestType: LICENSE, name: $name, notes: $notes}.\nIn field “accountId”: Expected type “Int!”, found $accountId.”
}
]
}