Error from Hubspot Contact API Submission on Website_Get Started Form (NewForm.php)
Response:
api.hubapi.com | 502: Bad gateway
Bad gateway
Error code 502
2024-08-27 14:45:30 UTC
api.hubapi.com
Host
Error
What happened?
The web server reported a bad gateway error.
What can I do?
Please try again in a few minutes.
Info:
url:"https:\/\/api.hubapi.com\/contacts\/v1\/contact\/createOrUpdate\/email\/hortonnlatosha@gmail.com"; content_type:"text\/html; charset=UTF-8"; http_code:502; header_size:761; request_size:861; filetime:-1; ssl_verify_result:20; redirect_count:0; total_time:1.734290000000000109281472759903408586978912353515625; namelookup_time:0.0008589999999999999545641227172154685831628739833831787109375; connect_time:0.022530000000000001414424133372449432499706745147705078125; pretransfer_time:0.047449999999999999122923810546126333065330982208251953125; size_upload:498; size_download:6324; speed_download:3646; speed_upload:287; download_content_length:6324; upload_content_length:498; starttransfer_time:1.734034999999999993036681189551018178462982177734375; redirect_time:0; redirect_url:""; primary_ip:"104.18.243.108"; certinfo:[]; primary_port:443; local_ip:"67.227.187.99"; local_port:36998; http_version:3; protocol:2; ssl_verifyresult:0; scheme:"https"; appconnect_time_us:47240; connect_time_us:22530; namelookup_time_us:859; pretransfer_time_us:47450; redirect_time_us:0; starttransfer_time_us:1734035; total_time_us:1734290;
Status Code:502
CURL Error:
JSON DATA:{"properties":[{"property":"firstname","value":"Latosha"},{"property":"lastname","value":"Horton"},{"property":"email","value":"hortonnlatosha@gmail.com"},{"property":"phone","value":"901-246-5767"},{"property":"zip","value":"38671"},{"property":"please_select_your_license_","value":"LPN\/LVN"},{"property":"degree","value":"RN Bridge (ASN or BSN)"},{"property":"how_did_you_find_us_","value":"Facebook"},{"property":"lead_status","value":"New Lead"},{"property":"lifecyclestage","value":"lead"}]}
24.206.81.40
Dallas, Texas 75201
Form Title: Website_Get Started
File Name: NewForm.php
Session ID: f3da4b6c2664a0b87006407e301d4bcc
Form ID: 0403319b4d0fa17aec56e5e18762bc9e
Key: eyJBIjoibGRxb3Z1IiwiQiI6ImowbDc4eW8iLCJDIjoiOW5tbGljIiwiRCI6IjE0MnYxNyIsIkUiOiIxdGtxOGtoIiwiRiI6IjExa2J2a3UifQ==
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
PHP_SELF: /forms/Views/NewForm.php
GATEWAY_INTERFACE: CGI/1.1
SERVER_ADDR: 67.227.187.99
SERVER_NAME: www2.achievetestprep.com
SERVER_SOFTWARE: Apache
SERVER_PROTOCOL: HTTP/1.1
REQUEST_METHOD: POST
REQUEST_TIME: 1724769928
REQUEST_TIME_FLOAT: 1724769928.3132
DOCUMENT_ROOT: /home/achievetestprep/public_html/www2.achievetestprep.com
HTTP_ACCEPT: */*
HTTP_ACCEPT_ENCODING: gzip, deflate, br, zstd
HTTP_ACCEPT_LANGUAGE: en-US,en;q=0.9
HTTP_CONNECTION: keep-alive
HTTP_HOST: www2.achievetestprep.com
HTTP_REFERER: https://www2.achievetestprep.com/forms/Views/NewForm.php?page_url=https%3A%2F%2Fwww.achievetestprep.com%2Fcareer-paths%2Fhealthcare-administration&page_title=Healthcare%20Administration%20Bridge%20Program%20%7C%20Achieve%20Test%20Prep
HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
HTTPS: on
REMOTE_ADDR: 24.206.81.40
REMOTE_PORT: 1500
SCRIPT_FILENAME: /home/achievetestprep/public_html/www2.achievetestprep.com/forms/Views/NewForm.php
SERVER_ADMIN: webmaster@www2.achievetestprep.com
SERVER_PORT: 443
SCRIPT_NAME: /forms/Views/NewForm.php
REQUEST_URI: /forms/Views/NewForm.php
Array
(
[fname] => Array
(
[label] => First Name
[placeholder] => Your first name
[column] => 1
[required] => 1
[req_dependant] => None
[type] => text
[size] => 25
[sf_lead_field] => First_Name__c
[hs_field] => firstname
[valid] => 1
[post] => qbn881
[value] => Latosha
)
[lname] => Array
(
[label] => Last Name
[placeholder] => Your last name
[column] => 1
[required] => 1
[req_dependant] => None
[type] => text
[size] => 25
[sf_lead_field] => Name
[hs_field] => lastname
[valid] => 1
[post] => qbn882
[value] => Horton
)
[email] => Array
(
[label] => Email Address
[placeholder] => your@emailaddress.com
[column] => 1
[required] => 1
[req_dependant] => None
[type] => email
[size] => 25
[sf_lead_field] => Email__c
[hs_field] => email
[valid] => 1
[post] => qbn883
[value] => hortonnlatosha@gmail.com
)
[phone] => Array
(
[label] => Mobile Phone
[placeholder] => 123 345 6789
[column] => 1
[required] => 1
[req_dependant] => none
[type] => phone
[size] => 25
[sf_lead_field] => Mobile_Primary__c
[hs_field] => phone
[note] =>
[valid] => 1
[post] => qbn884
[value] => 901-246-5767
)
[zip] => Array
(
[label] => Zip Code
[placeholder] => 012345
[column] => 1
[required] => 1
[req_dependant] => None
[type] => zip
[sf_lead_field] => Zip_Code__c
[hs_field] => zip
[valid] => 1
[post] => qbn885
[value] => 38671
)
[license] => Array
(
[label] => Current License
[placeholder] => Please select
[column] => 1
[required] => 1
[req_dependant] => None
[type] => select
[options] => Array
(
[CNA/CMA] => CNA/CMA
[EMT] => EMT
[LPN/LVN] => LPN/LVN
[Paramedic] => Paramedic
[RN] => RN
[Respiratory Therapist] => RT
[Surgical Technician] => Surgical Tech
[None of the above] => None
)
[sf_lead_field] => License_Master__c
[sf_instructor_field] => License__c
[hs_field] => please_select_your_license_
[note] =>
[valid] => 1
[post] => qbn886
[value] => LPN/LVN
)
[degree] => Array
(
[label] => Program of Interest:
[placeholder] => Please select
[column] => 1
[required] => 1
[req_dependant] => None
[type] => select
[options] => Array
(
[Nursing – LPN to RN] => RN Bridge (ASN or BSN)
[Nursing – LPN to BSN] => RN Bridge (ASN or BSN)
[Nursing – RN to BSN] => RN to BSN Bridge
[Nursing – CNA to RN] => CNA to RN
[Nursing – EMT to RN] => EMT to RN
[Nursing – Paramedic to RN] => Paramedic to RN
[Nursing – Surgical Tech to RN] => Surgical Technician to RN
[Nursing – Medical Asst to RN] => MA to RN
[Nursing – Entry to Nursing] => Nursing - General Degree
[Nursing – LPN to Nurse Practitioner] => LPN to Nurse Practitioner
[Dental – Dental Hygienist] => Dental Hygienist
[General – Business] => Business Degree
[General – Marketing] => Business
[General – Healthcare] => Healthcare Administration
[General – IT/Computer Science] => Computer Science + IT
[General – Other] => General Degree
)
[sf_lead_field] => Initial_Program_of_Interest__c
[sf_instructor_field] =>
[hs_field] => degree
[note] =>
[valid] => 1
[post] => qbn887
[value] => RN Bridge (ASN or BSN)
)
[find] => Array
(
[label] => How did you find us
[placeholder] => Please select
[column] => 1
[required] => 1
[req_dependant] => None
[type] => select
[options] => Array
(
[Blog/Forum] => Blog/Forum
[Email] => Email
[Facebook] => Facebook
[Instagram] => Instagram
[LinkedIn] => LinkedIn
[Online Job Board] => Other Online Job Board
[Pinterest] => Pinterest
[Received postcard in the mail] => Postcard
[Received letter in the mail (not postcard)] => Letter - in mail
[Referred by Achieve Student] => Referral - Student
[Referred by Someone at Work] => Referral - Nursing Home/Work
[Referred by Other] => Referral - Unknown person
[Search Engine] => Search Engine
[TikTok] => TikTok
[Youtube] => Youtube
[Other] => Other/Unknown
)
[sf_lead_field] => Lead_Source__c
[sf_instructor_field] =>
[hs_field] => how_did_you_find_us_
[note] =>
[valid] => 1
[post] => qbn888
[value] => Facebook
)
[term] => Array
(
[label] => I agree to Achieve's terms and to being contacted via email, phone, or sms at the email and phone provided.
[column] =>
[required] => 1
[req_dependant] => None
[type] => checkbox
[valid] => 1
[post] => qbn889
[value] => true
)
)