When querying the GraphQL API directly for an App
, nor in the results of the allocateIpAddress
mutation, am I able to get the shared_v4
IP address of my app. In other words, it appears the App
resolver is not returning shared_v4
addresses. I know it succeeds because the shared_v4
address shows up in the dashboard.
v6
IP addresses are returned as expected. null
is returned when allocating a shared_v4
address, but for v6
addresses, the IpAddress Node is correctly returned.
In addition, when querying like below, graphql returns the error shown. This isn’t a problem for the ipv6 address:
app(name: $name) {
ipAddress(address: "66.241.125.136") {
region
address
}
...
}
// returned error:
"errors": [
{
"message": "Could not find IPAssignment",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": [
"app",
"ipAddress"
],
"extensions": {
"code": "NOT_FOUND"
}
}
]
This appears to be a bug!