Great! Yes, there should be an error message displayed to handle this case. The correct action to fix it is exactly what you did - link the post to its associated Discourse topic.
Thanks for reporting this. I wouldn’t have noticed the error that was preventing the metabox from displaying without the report.