2d ago
Sandbox mode inaccessible while Sandbox API still works
Hi,I’m testing Postproxy Sandbox for a SaaS integration called Novelastre.I previously enabled Sandbox mode and created a Sandbox Profile Group called “Novelastre E2E Test”. I successfully connected a simulated Facebook profile and performed Sandbox API tests.The issue is that I can no longer enter Sandbox mode in the dashboard:“Enable sandbox” is greyed out and cannot be clicked.When I open Profiles, I see the Live environment instead of my Sandbox profiles.I tried logging out/reloading the dashboard and clearing the Postproxy site data in Safari, but the issue remains.However, the Sandbox environment is still fully accessible through the API using my Sandbox API key. Read-only API requests successfully return:the “Novelastre E2E Test” Sandbox Profile Group;the simulated Facebook profile;the “Sandbox Page” placement;the previous Sandbox posts.So the Sandbox data still exists server-side, but I cannot access the Sandbox interface in the dashboard.I also need to connect simulated Instagram, LinkedIn, TikTok, YouTube and Pinterest profiles for integration testing.Could you please tell me:How can I re-enter Sandbox mode in the dashboard when “Enable sandbox” is disabled?Is there another way to create simulated Sandbox profiles?Does POST /api/profile_groups/{id}/initialize_connection with a Sandbox API key create a simulated connection, or does it start the real platform OAuth flow?I specifically want to avoid authorizing or modifying any real social media account during these tests.Thanks!
Reviewing
Hi Manu, 1) Sandbox data reachable via the API is by design, not a bug. The API's environment is set by the key, not the dashboard toggle: a Sandbox API key always operates in Sandbox. So your "Novelastre E2E Test" group, simulated Facebook profile, Sandbox Page placement and earlier sandbox posts keep resolving through your Sandbox key, exactly as intended. (Your Live key never sees them.) 2) Regarding "Enable sandbox" greyed out. If sandbox isn't disabled on your account, so this is likely a browser cache/state quirk. Try a fresh incognito window or another browser, then enter from https://app.postproxy.dev/sandbox. To switch back, use "Exit" in the left sidebar or "Exit sandbox" on that page. Also, the color palette of the web app is brown-ish for Sandbox, to help diffirentiate visyually. 3) initialize_connection with a Sandbox key is fully simulated. Just send a request, it returns a `url` to a simulated authorization page, never starts real OAuth and never touches a real account. You can just follow the returned url and you'll see exactly the same simulated oauth screen as when you connect profiles in Sanbox in the web app. Best, Dmitry