There is a weird error with the latest version of balenaos on the RPi 4. I know of the API not sending a required header, this was solved by just upgrading the API version.
Now, older versions of balenaos work perfectly on the API version, only the latest balenaos images of the Pi family give a 401 error in the API.
Has anybody seen this problem before and knows of a solution? Is something wrong with the built balena images as downloading a dev image gives a prod image?