Error - Sending data to IOT Cloud

Hi, I have a Nano 33 IOT setup to send to the Arduino IOT cloud dashboard, I have tried lots of different setups none of which seem to be able to send a simple single value to the IOT dashboard (Integer). The Nano can connect to the wifi it sends the value serially (USB) but doesn't seem to write any value to dashboard? I wonder why this is here is the code I have tried:

Blockquote
#include "thingProperties.h"

int l1mov;

void setup() {
initProperties();
ArduinoCloud.begin(ArduinoIoTPreferredConnection);
setDebugMessageLevel(4);
ArduinoCloud.printDebugInfo();
}

void loop() {
ArduinoCloud.update();
{

Serial.print("l1mov = ");
l1mov=50;
Serial.print(l1mov);
Serial.println("");
}

void onL1MOVChange() {
// Do something
}

Blockquote