Troubleshooting Guide
This guide covers common issues, error messages, and step-by-step resolution steps encountered when configuring and operating the Marketplace Etsy Connector.
1. OAuth & Authentication Issues
Issue: "Invalid redirect_uri" Error on Etsy Consent Screen
Symptoms: Clicking Authenticate redirects to Etsy, but an error page states: "The provided redirect URI does not match the registered redirect URI".
Root Cause: Etsy API v3 enforces exact character-for-character matching between the callback URL registered in the Etsy Developer App and the URL transmitted by Magento during authentication. A mismatch in domain, protocol, admin route path, or account ID will trigger this error.
Resolution:
- Log in to the Etsy Developers Console.
- Open your registered Etsy application and edit its settings.
- In the Callback URLs field, enter the appropriate callback URL(s) (one per line):
- For Admin Panel Accounts:(Example for default admin path and account ID 1:
https://<your-store-domain>/<admin_frontname>/mpetsymagentoconnect/oauth/index/id/<account_id>https://<your-store-domain>/admin/mpetsymagentoconnect/oauth/index/id/1) - For Marketplace Sellers (Frontend):
https://<your-store-domain>/mpetsymagentoconnect/oauth/index/
- For Admin Panel Accounts:
- Verify:
- Protocol must be
https://(Etsy strictly rejectshttp://). - Domain must match your Magento base URL (including or excluding
wwwaccording to your store configuration). - For Admin accounts, verify
<admin_frontname>matchesapp/etc/env.php(e.g.admin) and<account_id>matches the Etsy account ID in Magento. - If managing multiple Etsy accounts in Magento Admin, register each account's URL (e.g.,
/id/1,/id/2).
- Protocol must be
Issue: Account Remains "Not Authenticated" After Granting Permissions
Symptoms: After clicking "Grant Access" on Etsy, you are returned to Magento, but the button does not change to the green "Authenticated" state.
Resolution:
- Check the Magento system log:
tail -n 100 var/log/system.log tail -n 100 var/log/exception.log - Verify that your server's outbound cURL can reach Etsy:
curl -I https://openapi.etsy.com/v3/application/openapi-ping - Check PHP session configuration: Ensure cookies and sessions are preserved across external OAuth redirects. Ensure
SameSitecookie policy is not set toStrictfor frontend/admin sessions.
Issue: License Status Remains "UNVERIFIED" in Module License Tracker
Symptoms: After entering the license key in Stores → Configuration → Webkul → Module License and clicking Save & Verify, the status badge remains UNVERIFIED or an error message is returned.
Resolution:
- Verify the License Key: Ensure you are using the exact license key for your purchased domain, copied directly from your Webkul Customer Account under downloadable orders.
- Check Outbound Server Connectivity: Confirm your server allows outbound HTTPS requests (port 443) to Webkul's licensing validation server:
curl -I https://store.webkul.com/ - Verify Webkul Base Module: Ensure the
Webkul_Basemodule is installed and enabled (php bin/magento module:status Webkul_Base). - Flush Configuration Cache:
php bin/magento cache:clean config
Issue: 401 Unauthorized / Expired Token Errors During Sync
Symptoms: Product import or order sync fails with 401 Unauthorized or Invalid OAuth token.
Root Cause: Etsy API v3 access tokens expire after 1 hour (3600 seconds).
Resolution:
- Check if Magento Cron is running:The
php bin/magento cron:runmpetsyconnect_tokenrefreshcron job automatically refreshes tokens before they expire. - If the token was revoked on Etsy or cron was stopped for an extended period, open Etsy Accounts Manager, edit the account, and click Authenticate to re-authenticate manually.
2. Product Synchronization Issues
Issue: "Default Shipping Template is Required" During Product Export
Symptoms: The export profiler fails with an error stating that shipping details could not be found.
Root Cause: Etsy mandates that every listing must be assigned to an active Etsy Shipping Profile.
Resolution:
- Go to Etsy Accounts Manager (or seller Etsy Settings).
- Edit the Etsy account.
- Under Default Shipping Template, select one of your existing Etsy shipping profiles from the dropdown list.
- Click Save Account and re-run the export profiler.
Issue: "Category is not mapped" During Product Export
Symptoms: Product export profiler skips an item and reports missing taxonomy.
Resolution:
- Identify the primary category assigned to the Magento product.
- Navigate to Marketplace → Map Category.
- Create a mapping linking that Magento category to the corresponding Etsy taxonomy node.
- Save the mapping and re-run product export.
Issue: Image Import Profiler Times Out or Fails
Symptoms: Product data imports successfully, but image import hangs or returns 504 Gateway Timeout.
Resolution:
- High-resolution images on Etsy can take several seconds to download. Increase PHP execution and memory limits in
php.inior.user.ini:max_execution_time = 300 memory_limit = 2G - In Nginx, ensure fastcgi timeout values accommodate media processing:
fastcgi_read_timeout 300; proxy_read_timeout 300; - Ensure write permissions on Magento's media directory:
chmod -R 775 pub/media/ chown -R www-data:www-data pub/media/
3. Order Synchronization Issues
Issue: Orders Not Syncing Automatically
Symptoms: New sales appear on Etsy, but native Magento orders are not generated automatically.
Resolution:
- Verify the module is enabled in Stores → Configuration → Webkul → Marketplace Etsy Magento Connect:
- Enable Marketplace Etsy Connector must be set to Yes.
- Verify Magento cron is running every minute:
crontab -l -u www-data - Check cron execution logs for
mpetsyconnect_ordersync:grep "mpetsyconnect_ordersync" var/log/cron.log - Run manual order import from the admin or seller dashboard to confirm whether API credentials successfully fetch receipts.
Issue: "Email is a required field" During Order Import
Symptoms: Earlier versions failed when Etsy masked the customer's email address.
Resolution:
- Upgrade to version 5.0.1+.
- The connector includes an automatic fallback generator that constructs a deterministic email (
buyer_{receipt_id}@etsy-customer.com), preventing customer validation errors.
4. Inspection & Log Files
When reporting issues or diagnosing failures, review the following logs:
| Log File | Path | What It Contains |
|---|---|---|
| Etsy Connector Log | var/log/mpetsy.log | API request payloads, Etsy HTTP response status codes, and profiler execution details. |
| Magento System Log | var/log/system.log | General Magento operational events and warnings. |
| Magento Exception Log | var/log/exception.log | PHP stack traces and fatal error reports. |
| Cron Log | var/log/cron.log / var/log/magento.cron.log | Timestamps and outcomes of scheduled background jobs. |
Need Assistance?
If an issue persists, open a support ticket with your log files at Webkul UVdesk Support.
