Could you explain your question a little better please? Also,
Maybe if you can post a photo of your box and a link to the coop you bought your problem would be more clear?
Yes, as there should be no space. The lid should fit flush with the egg box part. Is this a new coop?
A lot of those coops are poorly designed and built. Could be something as simple as it is not sitting perfectly flat so it is out of whack.
Maybe it's the hinge placement???
Show some pics and maybe someone can help.