Mcp can.h cannot receive data with the specified ID

post your complete sketch as a code-section.
How should anybody analyse your code if you only present a part of it?

Sure this situation can be resolved. But it needs that you provide much much more detail-information.

Before going on to post in this manner

welcome to the arduino-forum.
I'm pretty sure that you agree and will follow the way how to solve your problem mimimum 200 minutes faster.
This requires to invest 20 minutes of your precious time to read how to speedup solving your problems.

Directly after registering you got presented informations how to speed up solving your problem.
You should really read it.

best regards Stefan