Error finding matching public key for signature with ubuntu-image

I am following the tutorial for creating a Ubuntu Core image on the Ubuntu website and getting an error. Here is the link to the instructions:

The output is the following:

kris@devx:~/ubuntu-core-img$ ubuntu-image snap zzz-model.model
[0] make_temporary_directories
[1] determine_output_directory
[2] prepare_image
Error: Error preparing image: cannot fetch and check prerequisites for the model assertion: cannot add assertion model (ubuntu-core-22-intel-iot-edge; series:16 brand-id:zzz): error finding matching public key for signature: found public key "Dzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz" from "Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" but expected it from: zzz

What does this error mean?

You may have missed an important step: 2.1 “authority-id” and “brand-id”

Replace the values for the following fields:

"authority-id": "Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"brand-id": "Sxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",

with this:

"authority-id": "zzz",
"brand-id": "zzz",

This will ensure that your model assertion is properly configured.

Thank you, that worked. Once I updates both those fields the build was able to finish.