Arduino R4 wifi "verification requirements not meet"

I just got an Arduino R4 wifi, and am trying to set it up, but when I try to upload anything to it, a pop-up appears saying "verification requirements not meet" (yes, it is spelled like that)

here's the code:

#include "thingProperties.h"

void setup() {
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500); 

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
  
  /*
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4
 */
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
}

void loop() {
  ArduinoCloud.update();
  // Your code here 
  
  
}

/*
  Since LED is READ_WRITE variable, onLEDChange() is
  executed every time a new value is received from IoT Cloud.
*/
void onBeeperChange()  {
   digitalWrite(3, HIGH);
}

this is literally the auto-generated code that it gave me when I started.
please help!

What do you mean by auto-generated? That looks like cloud code, so there are a few steps missing, including verification. Search the Arduino.cc site for 'Howto use the cloud' or similar.

I was following a tutorial, and the guy said to just hit verify without adding anything, which worked fine for him, but when I tried it it gave me that error.

The code above is cloud code and you do NOT use the IDE, you use the browser on this site but a different spot. What is it you want to do?

I want to set up an R4 to connect to my PC and change a variable when a button is pressed

Read the pinned post re 'How to get the most from the forum' Then maybe go to the Arduino.cc Project Hub and look for the starter projects to use as a model.
BTW, your requirements statement is not clear, is the variable in the PC or the R4 code space? How is the R4 connected to the PC. Where is the button connected to.
Draw a simple diagram of how you want things connected.

ok yeah, I think I was following a bad tutorial, so I'll try that instead.