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. 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
Upload, Resize and Insert Images in App Connect Medium Editor
Date won't load with 500 server error on all pages and queries
File upload form
Wappler 5 / 6 based video training/ tutorial course ( free )
Validation and upload
Email not working in modal
Debug tricks
Struggling to Successfully Test My Form - Tutorial
Form to Email How To
Binding data to external API calls
Insert Error with Primary Keys
After Wappler update to anything above 5.8.2 from 5.8.2 SC doesnt work
Issues with an API ction
Unable to configure Google OAuth
Sqlite Error: Tutorial Follow-Along Fail - Sending an authorisation code to confirm the account
Optional date picker error
Action Steps Debug - manual Step through of Action Steps in Wappler for debug & testing & learning
Error sending email
Mobile apps data fetch not working
Error sending email and other question
Security Provider permission malfunction PHP page
Site Won't Open After Upgrade to 5.6
Tagify - populating dropdown list from db query not working
Data is not displayed
400 error Send Mail
Server side API parsing data for frond end issue
Server side API parsing data for frond end issue
Mobile App > Bootstrap5 + Capacitor > iOS loggin process doesn't work
S3 Sign upload template throws undefined url error
Limit on query not working
Server Connect erases content
Mobile App Bootstrap 5 + Capacitor > emulating iOS
Send Mail Not Working - again
Boolean field/checkbox gives error
XHR Error when trying to log in to the site
Problem with Mailer after server change
Problem filtering dataset with URL parameter
Registration form does nothing
Server Connect Introduction
Upload form stopped working - with 400 error
How to export data table
Table not show values
Send Mail not working
How to use for select option to post to the database
How to use for select option to post to the database
Create Checkout Session - Not working
Making register form
SQL Server Query not returning results
Upload functionality does not work
Issue inserting into 2nd table when using set value action
Debugging Server Connect Errors not working
After changing some Integer(2) to (11) the query and the inputs no longer work
I'm failing at a simple insert record form
Custom Query - Undefined binding(s) detected for keys
Open in Browser empty
Send mail not working on php 7.4 or higher
Send mail not working on php 7.4 or higher
Basics not working - what is the problem?
Basics not working - what is the problem?
Database no data
Database no data
Data not displaying in a generated table based on a mysql view
Dynamic data showing in design view but not in browser
Dynamic data showing in design view but not in browser
Filter query with multiple URL parameters
Filter query with multiple URL parameters
User Group Registration
Database Connection
Database Connection
Database Connection
Summernote Add-ON uploads - Files, Images, Video
Summernote Add-ON uploads - Files, Images, Video
Can you use Subtables with Existing database?
Newbie: Local server issues
PHP 8.0 getting error with serverconnectForm.js try { this.xhr.send(data); }
MySQL error Illegal mix of collations
Problem import csv file, worked last week
Data doesn't store in the database
Can't insert a start time and end time into mysql fields
Setting Up a Lightweight Dev Environment with NodeJS and SQLite
500 Error Initial page load
Mssql not updating table
Node.js multiple errors
Applying 'Database Inserts' to Form
Form doesn't submit
Issue with security provider and browser cache
Form won't submit with decimal value
Asp.net: Problem with summernote after last Wappler Update
Argon2 - Database Insert step for Argon2 hashed password doesn't insert password into database
Email Not sending - hellllpppp
Error with Inserting image into database
Search Filter Query Problem
Form upload to a local node.js error 404
Post form with image not working
Wappler was updated last night... pages are showing up but no data
Can't login anymore after the **Wappler 4.3.0** installation
MySQL/PHP connection not working on remote server...500 error
Problem with insert after upload
[object Object]500500
Is there a size limit for File Uploads?
Error on display data
File upload not working
Form submit problems
Problems with Database Query
500 Error?
No data fields found in Bootstrap 5 Table Generator
No MySql data is showing up on my pages after Dreamweaver conversion
Dropzone problem
Create Action Query Database with Wappler 4
Trouble connecting to database since 4.0
Data not displaying in a generated table based on a mysql view
Send mail doesn't work
Server action isn't appearing in Server Actions folder/dialog
Asp.net: Error submitting form
Having trouble connecting to the database
Trying to loop through an array for multiple database inserts
Database Titles come up not info fields
Problems inserting records
Listing Files From a Folder seem not working!
Server Connect Changes breaking my dmxConnect.php- too old PHP version
Sendmail action error
Library Action Creation Bug in 3.7.3
Failed to load api files
Failed to load api files
Server Connect error 500
Error 500 after downloading from Github (Nodejs project)
Webpage server actions are not connecting with the server
Webpage server actions are not connecting with the server
Error 500 on simple insert
Server Connect error 500
Server connect actions stopped working for me
Server error 500 due to wrong checkbox setup?
Asp.net: Summernote and medium editor error
MSSQL data insertion not working
Need help with troubleshooting Mailer setup
Is there a file size limit on the Image Resizing tool?
Using Database Connection
Bug Report from Johnny_Solberg - Email form not sending email
Issue after updating any server action
New 3.5 sc how to?
Create a registry with framework 7 and cordova
serverconnectForm.js:262 404 NOT FOUND`
Single record query and update not working
Submitting data from a form in Node.js is there a tutorial?
Listing Error
Listing Error
Download Prior Versions
Issue with inner joins
Problems with server connect calls
Forms not connecting to database
Probably my worst question yet - I cannot get my server connect form to input data into my DB
PDO connection if you prefer not to use a prerender service
Login error serverconnectForm.js:249
3.0.0 rc4-golden master - open in browser problems
Form To Email CORS Policy Trouble
Error: failure to load resources. Please help I attached the debug info
Problems with reference fields
Can't update/insert if html on asp.NET
Choose a query by a select value
Server Status 500 - fetch.js:248
File Download terminates the action
Stuck at OAuth2 Facebook connector
Updating a table getting 500 error
What server features are needed for image editing?
Prepared statement Needs to be Re-prepared?
Instagram new API with Auth
Server data no shwing
500 - Internal server error on the SQL Database
Error trying to insert records
Multiple Image upload button in modal Bootstrap 4 form not working - images not uploading
500 Internal Error on Submit
Logout action direct from Navbar Link
App Connect Bootstrap 4 Form Generator - using text area / medium editor
Send email form
Custom Query outputting my SQL Statement
Php 7.2 get error with serverconnectForm.js try { this.xhr.send(data); }
C'ant open database Query builder
Bug Report on ASP Validate data
Pagination with Child Repeater (Repeating Bootstrap Cards)
Troubleshooting error 500
File upload will not overwrite
Decimal
Decimal
Image upload and database troubleshoot
Security Login of Active accounts only
Classic ASP: Error 500 on repeat
Best way of debugging code/queries
Form Not Loading
Csv import - if more than 10k records i get error 500
Form Select causing 500 error
Deleting image not working
Query returning no results
500 error
Classic ASP setup on Mac with parallels
Problem with security enforcer
Bug Report dropzone
Login form button not working
Tooltip block modal
Getting a 401 Unauthorised error when pressing submit on Login Form
SSI PHP Include help
Error saving record to database after upload
Logout Button Logging out, but not redirecting
Simple Login page - submit button does nothing
Issues with ASP.NET security provider
Simple Login page - submit button does nothing
Error 500
Email-will not be send
Email-will not be send
File PDF upload
Bug Report from Jp_Dahlgren #2019-2-21_10-42-35
Pagination offset errors
Data in not displayed when "Open in Browser" but displaying in Design mode
Auto orient on load
Contact form not sending
Login Form Problems
Login Form Problems
I need help learning how to save and restore form data
Update form stops on uploading file
Update database table form not working
Can get mysql database connection but can't get query to retrieve data
How to use server-side redirect?
Uploading Single File To Your Server
Mailer will not work
ASP.NET: Insert and Update Server Actions fail
Update database table form not working
Update form not working How to troubleshoot
FTP Connection Server problem
Pass Variable from App structure back to Server Action?
Pass Variable from App structure back to Server Action?
Wappler Official Documentation
Pagination help.. Offset getting sent but nothing
Multiple Upload Documentation, missing parts?
Insert Record - Table Parent + Child
Different Result for Query on Server & Wappler
Pass Variable / Modal Detail debugging
Error with update form
Bootstrap 4 table and security
Form data to email not working
Help on adding image path to database
500 Server error on insert form
Upload, Resize and Insert Images in App Connect Medium Editor
Date error with MariaDB?
Secure login not working
Having problems with email verification code
Issues with sign up page
Authorization code to confirm the account users
Registration Page User
CSV import only works with csv formatted with double quotes around cell contents?
Form Submit - Modal
API Action working on front and not working in Server Action
Repeatdata on table shows on design but not on Web preview
Issues with paths on remote server