#
Troubleshooting
This guide covers common issues and their solutions for both the WordPress plugin and Google Sheets add-on.
#
WordPress Plugin Issues
#
API Key Not Working
Problem: Google Sheets add-on can't connect using your API key.
Solutions:
- Verify you copied the entire API key without extra spaces
- Generate a new API key in SheetPoet > Settings
- Ensure your WordPress site is accessible from the internet
- Check that the plugin is activated
#
Functions Not Saving
Problem: Custom functions won't save or validate.
Solutions:
- Check for PHP syntax errors in your code
- Ensure your function returns a value (string, array, or array of objects)
- Make sure your function accepts a $record parameter (all function types use this parameter)
- Try a simpler function to test if the issue is with your code
#
Execution Errors
Problem: Functions execute but return errors.
Solutions:
- Check the execution history in SheetPoet > History
- Look for PHP errors in your function code
- Verify that your function handles all possible input scenarios
- Check WordPress error logs for additional information
#
Google Sheets Add-on Issues
#
Can't Connect to WordPress
Problem: Add-on can't establish connection with WordPress.
Solutions:
- Verify your WordPress site URL (include https://)
- Check that your API key is correct
- Ensure your WordPress site is accessible
- Try reconnecting after clearing browser cache
#
Functions Not Loading
Problem: No functions appear in the dropdown.
Solutions:
- Verify you've created functions in the WordPress plugin
- Check that you're connected to the correct WordPress site
- Try reconnecting to refresh the function list
- Ensure your API key has the necessary permissions
#
Operation Errors
Problem: Functions execute but return errors.
Solutions:
- Check the error message for specific issues
- Verify your data format matches what the function expects
- Try with a smaller dataset to isolate the issue
- Check execution history in WordPress for detailed error information
#
Data Issues
#
Data Not Importing Correctly
Problem: Data from WordPress doesn't appear correctly in Google Sheets.
Solutions:
- Check your function's return format (must be an array of arrays or objects)
- Verify column mappings in your function
- Check for special characters or formatting issues
- Try with a smaller dataset to isolate the issue
#
Data Not Updating in WordPress
Problem: Data from Google Sheets doesn't update WordPress correctly.
Solutions:
- Check your function's parameter handling
- Verify you're mapping the correct columns to parameters
- Check for required fields that might be missing
- Try updating a single row to isolate the issue
#
Common Error Messages
#
"Invalid API Key"
Solution: Generate a new API key in WordPress and update in Google Sheets.
#
"Function Not Found"
Solution: Verify the function exists and is active in WordPress.
#
"Missing Required Parameter"
Solution: Check that all required parameters are provided in Google Sheets.
#
"Connection Failed"
Solution: Verify your WordPress site is accessible and the URL is correct.
#
Performance Tips
- Process smaller batches of data at a time
- Optimize your function code for efficiency
- Disable unnecessary WordPress plugins during large operations
- Use simple data structures in your functions
#
Still Having Issues?
Contact our support team at [email protected] with:
- Description of the issue
- Steps to reproduce
- Screenshots of any error messages
- WordPress version and theme
- List of active plugins