The error you are seeing is expected as the new SSD doesn’t have the OS on it yet! [https://support.apple.com/en-us/HT204156|If your Mac doesn't start up all the way] .
Are you seeing a question mark in a folder? [https://support.apple.com/en-us/HT204323|If your Mac starts up to a question mark]
Here’s more on using OS recovery:
[https://support.apple.com/en-us/HT201314|About macOS Recovery]
[https://support.apple.com/en-us/HT204904|How to reinstall macOS from macOS Recovery]
I’m sure thats your issue here.