Problem sending CAN messages

i am new to arduino and programming it.

i need to send a CAN message with an arduino , i’ve put a sparkfun can-bus shield on it and a resistor (120 ohm) ,

i’ve done research on it and so far i made this code but it doesn’t work and i have absolutely no idea why.

i hope someone can help me with it because i have no idea what i’m doing wrong.

with kind regards,

#include <Canbus.h>
#include <defaults.h>
#include <global.h>
#include <mcp2515.h>
#include <mcp2515_defs.h>
#include <mcp_can.h>
#include <mcp_can_dfs.h>

//********************************Setup Loop*********************************//

long unsigned int txID1 = 0x10FFDC40;
long unsigned int txID2 = 0x10F17F40;

unsigned char canMsg1[8] = {0xB8, 0x2D, 0x00, 0x00, 0x1F, 0xE0, 0x1F, 0x60};
unsigned char canMsgWakeupAlles[8] = {0x00, 0x00, 0x00, 0x00, 0x04, 0xFF, 0xF0, 0xF0};

void setup() {
  Serial.println("CAN Write - Testing transmission of CAN Bus messages"); 

  if (Canbus.init(CANSPEED_250)) 
    Serial.println("CAN Init ok");
    Serial.println("Can't init CAN");


//********************************Main Loop*********************************//

void loop()

  CAN.sendMsgBuf(txID1, 1, 8, canMsg1);


  CAN.sendMsgBuf(txID2, 1, 8, canMsgWakeupAlles);