$ sudo pro status --format=json | jq | less
... "warnings": []
But
$ pro status --format=json | jq | less
"warnings": [ { "message": "Failed to check for change in machine contract. Reason: Unauthorized: [https://contracts.canonical.com/v1/contracts/<xxxxx>?architecture=amd64&kernel=5.15.0-56-generic&series=jammy], unauthorized", "message_code": null, "service": null, "type": "system" }, { "message": "Trying to remove notice as non-root user", "message_code": null, "service": null, "type": "system" }, { "message": "Trying to remove notice as non-root user", "message_code": null, "service": null, "type": "system" }, many of them
$ sudo pro status --format=json | jq | less
...
"warnings": []
But
$ pro status --format=json | jq | less
"warnings": [ /contracts. canonical. com/v1/ contracts/<xxxxx> ?architecture= amd64&kernel= 5.15.0- 56-generic& series= jammy], unauthorized", message_ code": null, message_ code": null, message_ code": null,
{
"message": "Failed to check for change in machine contract. Reason: Unauthorized: [https:/
"
"service": null,
"type": "system"
},
{
"message": "Trying to remove notice as non-root user",
"
"service": null,
"type": "system"
},
{
"message": "Trying to remove notice as non-root user",
"
"service": null,
"type": "system"
},
many of them