Using the HTML card Export panel to push a card to WordPress (GreenShift blocks format) fails immediately with "Export failed – Invalid JSON response" and a Retry button. Traced it to the endpoint the wizard calls to populate the destination page picker: GET /api/wordpress/sites/{site_id}/pages?target=page returns a plain-text HTTP 500 ("Internal Server Error", content-type text/plain) instead of JSON, so the wizard's JSON.parse on the response body throws, surfacing as the generic "Invalid JSON response" message. The site connection itself is healthy: GET /api/wordpress/sites returns the configured site correctly, and a manual REST push (pages create, media upload, greenshift/v1/css_settings) against the same site/credentials succeeds outside the app, so this looks isolated to the sites/{id}/pages listing route rather than the WP connection or credentials.
Steps to reproduce
1. Configure a WordPress site connection (URL + username + application password).
2. Open an HTML card's Export panel, choose WordPress -> GreenShift blocks.
3. Attempt the push (or the page-picker step of the wizard).
Reproduced directly outside the wizard too:
curl "$GREENLIGHT_API_BASE_URL/api/wordpress/sites/{site_id}/pages?target=page" -> 500 (also reproduces for target=template and target=template_part).
Expected
The pages-listing endpoint returns a JSON array of the site's pages, and the Export wizard's page picker populates normally.
Actual
The endpoint returns HTTP 500 with a plain-text body "Internal Server Error" (content-type text/plain, 21 bytes) for every target value tried (page, template, template_part). The wizard cannot parse this as JSON and shows "Export failed – Invalid JSON response".
Error output
HTTP/1.1 500 Internal Server Error server: uvicorn content-length: 21 content-type: text/plain; charset=utf-8 Internal Server Error (No corresponding traceback found in logs/server.log around the request time -- the unhandled exception does not appear to be logged to that file.)
Context
Feature area: WordPress export (GreenShift blocks). Board: Finance_Website. Element type: html card. Endpoint: GET /api/wordpress/sites/{site_id}/pages.
Environment
App version: 10.9.0
Platform: Darwin 27.0.0 (arm64)
server.log tail
2026-08-31 00:55:21,797 INFO Server startup complete. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-01 09:55:43,981 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-01 09:57:40,911 INFO [trash] Purged 5 expired file(s) from board-folder trash 2026-09-01 09:57:40,911 INFO Server startup complete. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-01 09:57:46,758 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-01 09:57:46,886 INFO Server startup complete. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-01 10:18:12,288 INFO [cleanup] Trashed media file: /Users/jonathanrodriguez/Library/CloudStorage/[email protected]/My Drive/Greenlight Dashboard/Website Design/Finance Website/website_brief_1.md 2026-09-01 10:18:13,360 INFO [trash] Restored media file: /Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/media/admin/Finance_Website/website_brief_1.md 2026-09-01 10:31:43,429 INFO [ai-generate] model=bytedance/seedream-v5.0-pro generate=46.7s download=0.4s total=47.1s results=1 2026-09-01 10:32:40,272 INFO [ai-generate] model=bytedance/seedream-v5.0-pro generate=52.9s download=0.1s total=53.0s results=1 2026-09-01 10:33:32,579 INFO [ai-generate] model=bytedance/seedream-v5.0-pro generate=48.5s download=0.5s total=49.1s results=1 2026-09-01 10:34:31,195 INFO [ai-generate] model=bytedance/seedream-v5.0-pro generate=54.9s download=0.5s total=55.3s results=1 2026-09-01 10:35:38,322 INFO [ai-generate] model=bytedance/seedream-v5.0-pro generate=63.1s download=0.5s total=63.5s results=1 2026-09-01 10:36:33,348 INFO [ai-generate] model=bytedance/seedream-v5.0-pro generate=50.8s download=0.4s total=51.2s results=1 2026-09-01 10:43:35,861 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:43:54,526 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:44:12,110 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:45:21,063 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:45:46,294 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:46:00,115 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:46:09,581 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:46:27,485 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:46:44,921 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-01 10:46:51,356 INFO [render-browser] launched via=system-chrome version=151.0.7922.174 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-05 09:13:12,057 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-05 09:13:12,198 INFO [trash] Purged 17 expired file(s) from board-folder trash 2026-09-05 09:13:12,198 INFO Server startup complete. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-05 09:26:32,841 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-05 09:26:32,980 INFO Server startup complete in 138ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-05 09:30:06,604 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-05 09:30:06,742 INFO Server startup complete in 137ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-12 12:58:44,884 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-12 12:58:46,549 INFO Server startup complete in 1664ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-13 09:11:21,859 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-13 09:11:22,003 INFO Server startup complete in 144ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-13 09:11:22,880 WARNING Wavespeed pricing error: Cannot connect to host api.wavespeed.ai:443 ssl:default [nodename nor servname provided, or not known] 2026-09-22 08:00:11,513 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-22 08:00:11,652 INFO Server startup complete in 138ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-22 08:04:26,273 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-22 08:04:26,389 INFO Server startup complete in 116ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-22 08:15:53,990 INFO [frontend] Serving built bundle from /Applications/GreenLight DashBoard.app/Contents/Resources/frontend-dist 2026-09-22 08:15:54,037 INFO Server startup complete in 47ms. AI providers registered. Log file=/Users/jonathanrodriguez/Library/Application Support/greenlight-dashboard/logs/server.log 2026-09-22 10:54:19,602 INFO [cleanup] Trashed media file: /Users/jonathanrodriguez/Library/CloudStorage/[email protected]/My Drive/Greenlight Dashboard/Website Design/Finance Website/pasted-4.png 2026-09-22 11:04:04,384 INFO [render-browser] launched via=system-chrome version=153.0.8010.53 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-22 11:04:45,881 INFO [render-browser] launched via=system-chrome version=153.0.8010.53 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝) 2026-09-22 11:15:59,946 INFO [render-browser] launched via=system-chrome version=153.0.8010.53 gpu=True (after 1 failed: playwright-chromium: : Executable doesn't exist at /Applications/GreenLight DashBoard.app/Contents/Resources/backend/moodboard-backend/_internal/playwright/driver/package/.local-browsers/chromium-1234/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing ╔════════════════════════════════════════════════════════════╗ ║ Looks like Playwright was just installed or updated. ║ ║ Please run the following command to download new browsers: ║ ║ ║ ║ playwright install ║ ║ ║ ║ <3 Playwright Team ║ ╚════════════════════════════════════════════════════════════╝)
Responses
Im Having the Same issue