During troubleshooting, I noticed that using the AWS CLI instead of Boto3 gave slightly different output. I tried running the script within the same account for both the EC2 client and Network Manager, and it worked. It seems Boto3 is performing a check to ensure that the core network and VPC are in the same account, but it's throwing an incorrect error, indicating a "wrong input."