If you use and / or create an instance template, make sure that you provide the correct permissions in the Authentication and API access .
In the access area: select either "Set access for each API" or "Allow full access to all cloud APIs", DO NOT select "Allow default access", which gives only Read
source share