Why won't my arduino get a DHCP response?

Anyone familiar with Twilio or Temboo? It’s a free online text message sending service.

My arduino (atmega) isn’t getting a DHCP response. I can fix this issue, but it requires me to delete a section of code that should have nothing to do with the arduino to router connection.
Here’s the code:

#include <SPI.h>
#include <DhcpV2_0.h>
#include <DnsV2_0.h>
#include <EthernetV2_0.h>
#include <EthernetClientV2_0.h>
#include <Temboo.h>
#include "TembooAccount.h" // Contains Temboo account information

byte ethernetMACAddress[] = ETHERNET_SHIELD_MAC;
EthernetClient client;

int numRuns = 1;   // Execution count, so this doesn't run forever
int maxRuns = 10;   // Maximum number of times the Choreo should be executed

void setup() {
  Serial.begin(9600);
  
  // For debugging, wait until the serial console is connected
  delay(4000);
  while(!Serial);

  Serial.print("DHCP:");
  if (Ethernet.begin(ethernetMACAddress) == 0) {
    Serial.println("FAIL");
    while(true);
  }
  Serial.println("OK");
  delay(5000);

  Serial.println("Setup complete.\n");
}

void loop() {
  if (numRuns <= maxRuns) {
    Serial.println("Running SendSMS - Run #" + String(numRuns++));

    TembooChoreo SendSMSChoreo(client);

    // Invoke the Temboo client
    SendSMSChoreo.begin();

    // Set Temboo account credentials
    SendSMSChoreo.setAccountName(TEMBOO_ACCOUNT);
    SendSMSChoreo.setAppKeyName(TEMBOO_APP_KEY_NAME);
    SendSMSChoreo.setAppKey(TEMBOO_APP_KEY);

    //##################################################     
    // Set Choreo inputs
    String AuthTokenValue = "";
    SendSMSChoreo.addInput("AuthToken", AuthTokenValue);
    String ToValue = "";
    SendSMSChoreo.addInput("To", ToValue);
    String FromValue = "";
    SendSMSChoreo.addInput("From", FromValue);
    String BodyValue = "testing testing";
    SendSMSChoreo.addInput("Body", BodyValue);
    String AccountSIDValue = ;
    SendSMSChoreo.addInput("AccountSID", AccountSIDValue);
    //##################################################


    // Identify the Choreo to run
    SendSMSChoreo.setChoreo("/Library/Twilio/SMSMessages/SendSMS");

    // Run the Choreo; when results are available, print them to serial
    SendSMSChoreo.run();

    while(SendSMSChoreo.available()) {
      char c = SendSMSChoreo.read();
      Serial.print(c);
    }
    SendSMSChoreo.close();
  }

  Serial.println("\nWaiting...\n");
  delay(30000); // wait 30 seconds between SendSMS calls
}

(credentials were taken out)

and i get the following error:

DHCP:FAIL

When I take out the section between the ####… (the credentials)… the DHCP works fine, but this section should have nothing to do with the connection between the router and me…
anyway, when I take that section out, the DHCP goes through, but I of course get the following error:

DHCP:OK
Setup complete.

Running SendSMS - Run #1
HTTP_CODE
500
 Server Error
content-type: text/plain
Date: Wed, 06 Jan 2016 10:58:36 GMT
Server: Jetty(8.1.7.v20120910)
Connection: Close

Error
A Step Error has occurred: "An input error has occurred. AccountSID, AuthToken, From, and To are required. You must also provide at least one of the following parameters: Body or MediaURL.".  The error occurred in the Stop (Stop) step.

Waiting...

When you remove all those Strings, and functions that piss away resources using Strings unnecessarily, you free up a LOT of memory. That may be enough to let the program actually work.