Error: Service(Other("Error parsing spec file: missing field `nodeAuthorization` at line 89 column 5"))

This is the error message I encounter when trying to build a raw chain spec json file.

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Aug 10, 2022 at 7:23

1 Answer 1


I guess that you follow this tutorial https://docs.substrate.io/tutorials/get-started/permissioned-network/

I think you should check your chain spec configuration in fn testnet_genesis

and check this

 node_authorization: NodeAuthorizationConfig {
   nodes: vec![

Last but not least, you should give us more details

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.