Debugging Server Connect Errors

You can easily debug issues related to server-side processing such as - form not sending email, record not inserting or updating, query not showing data etc.

The first thing you need to do is to open the server connect settings. They are located in the Workflows Panel > Server Actions:

Screenshot 2021-09-27 at 10.02.35

And enable the Debug Mode:

Click Save:

In your browser, open the Developer tools. If you don't know how to open them please refer to your browser's documentation. Then open the Network tab(1) and select XHR(2):

Now with the developer tools open reload the page if your server action runs on load, or submit the form if the server action is run on form submit. You will see the error message in the XHR tab, it contains the file which is causing it as well as the error status:

Click the name of file that is causing the error. Select Preview or Response tabs You will see the error message, explaining what is wrong. In our case, the database column, which we are trying to insert record into is not found - which probably means it has been renamed or deleted from the database, and we forgot to update the server action accordingly:

Not all errors are that clear, but in many cases they are just helpful enough to find what is wrong.

14 Likes
Date won't load with 500 server error on all pages and queries
File upload form
Validation and upload
Troubleshoot server action
Help on adding image path to database
Multiple Upload Documentation, missing parts?
Logout Button Logging out, but not redirecting
Bootstrap 4 table and security
Different Result for Query on Server & Wappler
500 Server error on insert form
Upload, Resize and Insert Images in App Connect Medium Editor
Can get mysql database connection but can't get query to retrieve data
Secure login not working
I need help learning how to save and restore form data
Update form stops on uploading file
Pass Variable / Modal Detail debugging
Insert Record - Table Parent + Child
Pagination help.. Offset getting sent but nothing
Pass Variable from App structure back to Server Action?
Pass Variable from App structure back to Server Action?
Wappler Official Documentation
FTP Connection Server problem
Update form not working How to troubleshoot
Update database table form not working
ASP.NET: Insert and Update Server Actions fail
Login Form Problems
Login Form Problems
Auto orient on load
Email-will not be send
Email-will not be send
Button Download CSV File
Bug Report dropzone
Problem with security enforcer
Classic ASP setup on Mac with parallels
Mailer Sending Issue
Query returning no results
Form Select causing 500 error
Csv import - if more than 10k records i get error 500
Form Not Loading
Auth?
Best way of debugging code/queries
Should Database Update and Database Insert have a Debug option?
Sending authoriztion code to confirm account
Security Login of Active accounts only
Troubleshooting error 500
Pagination with Child Repeater (Repeating Bootstrap Cards)
Php 7.2 get error with serverconnectForm.js try { this.xhr.send(data); }
Login using Hash Verify fails as Unauthorized
PHP 8.0 works - PHP 8.1 does NOT
Database Query shows no results
Login problems after updating wappler version
App Connect Bootstrap 4 Form Generator - using text area / medium editor
Logout action direct from Navbar Link
500 Internal Error on Submit
Camel Case
Multiple Image upload button in modal Bootstrap 4 form not working - images not uploading
Error trying to insert records
500 - Internal server error on the SQL Database
Prepared statement Needs to be Re-prepared?
What server features are needed for image editing?
Stuck at OAuth2 Facebook connector
File Download terminates the action
Choose a query by a select value
Can't update/insert if html on asp.NET
Looking For The Code Wappler Writes
Problems with reference fields
Error: failure to load resources. Please help I attached the debug info
Form To Email CORS Policy Trouble
3.0.0 rc4-golden master - open in browser problems
Login error serverconnectForm.js:249
PDO connection if you prefer not to use a prerender service
Probably my worst question yet - I cannot get my server connect form to input data into my DB
Forms not connecting to database
Problems with server connect calls
Help. my v6 site is crashing. error 500
Download Prior Versions
Listing Error
Listing Error
Single record query and update not working
serverconnectForm.js:262 404 NOT FOUND`
Create a registry with framework 7 and cordova
New 3.5 sc how to?
Is there a file size limit on the Image Resizing tool?
Deploy - DATABASE LOCAL X REMOTE
MSSQL data insertion not working
Server error 500 due to wrong checkbox setup?
Server connect actions stopped working for me
Server Connect error 500
Error 500 on simple insert
Webpage server actions are not connecting with the server
Webpage server actions are not connecting with the server
Error 500 after downloading from Github (Nodejs project)
Server Connect error 500
Sendmail action error
Listing Files From a Folder seem not working!
Trying to loop through an array for multiple database inserts
Having trouble connecting to the database
Asp.net: Error submitting form
Server action isn't appearing in Server Actions folder/dialog
Data not displaying in a generated table based on a mysql view
No MySql data is showing up on my pages after Dreamweaver conversion
No data fields found in Bootstrap 5 Table Generator
500 Error?
Problems with Database Query
[object Object]500500
Problem with insert after upload
Can't login anymore after the **Wappler 4.3.0** installation
Post form with image not working
Form upload to a local node.js error 404
Search Filter Query Problem
Database Single Query: database inters and database update does nothink
Email Not sending - hellllpppp
Argon2 - Database Insert step for Argon2 hashed password doesn't insert password into database
Form won't submit with decimal value
Issue with security provider and browser cache
Node.js multiple errors
Mssql not updating table
500 Error Initial page load
Can't insert a start time and end time into mysql fields
Data doesn't store in the database
Problem import csv file, worked last week
PHP 8.0 getting error with serverconnectForm.js try { this.xhr.send(data); }
Boutique tutorial Part 1 (Clientside CRUD - Categories)
Newbie: Local server issues
Can you use Subtables with Existing database?
Summernote Add-ON uploads - Files, Images, Video
Summernote Add-ON uploads - Files, Images, Video
Server-side Components Index
Database Connection
Database Connection
Database Connection
User Group Registration
Filter query with multiple URL parameters
Filter query with multiple URL parameters
Data not displaying in a generated table based on a mysql view
Database no data
Database no data
Basics not working - what is the problem?
Basics not working - what is the problem?
Send mail not working on php 7.4 or higher
Send mail not working on php 7.4 or higher
Open in Browser empty
Custom Query - Undefined binding(s) detected for keys
I'm failing at a simple insert record form
After changing some Integer(2) to (11) the query and the inputs no longer work
Debugging Server Connect Errors not working
Issue inserting into 2nd table when using set value action
Upload functionality does not work
SQL Server Query not returning results
Making register form
Create Checkout Session - Not working
How to use for select option to post to the database
How to use for select option to post to the database
Send Mail not working
Table not show values
How to export data table
Upload form stopped working - with 400 error
How to insert Tagify into database with reference element
Registration form does nothing
Problem with Mailer after server change
Boolean field/checkbox gives error
Mobile App Bootstrap 5 + Capacitor > emulating iOS
Server Connect erases content
Limit on query not working
S3 Sign upload template throws undefined url error
Mobile App > Bootstrap5 + Capacitor > iOS loggin process doesn't work
400 error Send Mail
Data is not displayed
Tagify - populating dropdown list from db query not working
Bug Report #1784116870080
Error sending email and other question
Mobile apps data fetch not working
Error sending email
Optional date picker error
Sqlite Error: Tutorial Follow-Along Fail - Sending an authorisation code to confirm the account
Unable to configure Google OAuth
Issues with an API ction
After Wappler update to anything above 5.8.2 from 5.8.2 SC doesnt work
Insert Error with Primary Keys
Binding data to external API calls
Form to Email How To
Struggling to Successfully Test My Form - Tutorial
Debug tricks
Email not working in modal
Repeatdata on table shows on design but not on Web preview
Form Submit - Modal
CSV import only works with csv formatted with double quotes around cell contents?
Registration Page User
Authorization code to confirm the account users
Issues with sign up page
Having problems with email verification code
Date error with MariaDB?
Video 35 from the Wappler 5.0/6 Quickstart "In this module we learn how to edit our SEO parameters"
Video 35 from the Wappler 5.0/6 Quickstart "In this module we learn how to edit our SEO parameters"
Custom query not displaying results
Database Server Error 502 even after successful query
Need Help Logging CouchDB User in Wappler Project
API Action working on front and not working in Server Action
Issues with paths on remote server
MySQL error Illegal mix of collations
Problems inserting records
Using Database Connection
Understanding table joins
Image upload and database troubleshoot
Error saving record to database after upload
Server Error 500 when trying to send email
Help with mailer sending saltcode
Server Error 500 when trying to send email
Boutique - 13. Register a new Customer
Error on big Image Resize in PHP
Replacing blank values with '--' in output table
Uploads work on local machine but not in cPanel hosting
Mysql timeadd not working
Ignore this thread .... user just panicked. ;-)
Form data to email not working
PLAID API Setup Help
Uploading Single File To Your Server
How to use server-side redirect?
Update database table form not working