Getting manifest missing permissions error while trying to use REST API

Looked at the docs and I’ve added to manifest:

  "requiredPermissions": {
    "network ": {
      "domains": [
        "https://api.service.com"
      ]
    }
  },

But I still get the error:

Plugin is not permitted to access the network apis. A valid domains entry is required in requiredPermissions.network field of the manifest.

:interrobang:

:man_facepalming:
there’s a trailing space in "network ". Removed and it works as expected