Not fixed, this is an old issue and is about the option "buy blueprints with credits" enabled:
# enable that setting
# make shop infinite
# try to buy a blueprint that costs more than what you have
# can't buy it, not enough credits even though infinite shop blueprints should be free
Side note, it also spawns the ship, should it give you a filled meta blueprint item instead?