Troubleshooting

Fix common issues with Racoontools and the API Client.

CORS Errors

If you see CORS ERROR when sending requests, the browser is blocking the request due to cross-origin security policies. This is expected for most public APIs.

  • Ensure the API you're calling supports CORS (check for Access-Control-Allow-Origin headers)
  • Test against APIs that allow cross-origin requests (like https://httpbin.org or https://pokeapi.co)
  • For local development, ensure your server sends proper CORS headers

Connection Issues

If requests fail with a network error:

  • Check your internet connection
  • Verify the URL is correct and the server is reachable
  • Make sure you're using the correct protocol (https:// vs http://)
  • Some corporate firewalls may block API requests from browsers

Invalid JSON

If you get "Invalid JSON" when sending a POST/PUT request:

  • Check that your body is valid JSON using the Beautify button
  • Remove trailing commas
  • Ensure strings use double quotes ("), not single quotes

Data Loss

All data is stored in your browser's localStorage. Clearing browser data will delete your collections, environments, and history.

  • Use the Export All Data option in Settings to create backups
  • Data is per-browser — switching browsers or devices starts fresh

Something not working?

If you encounter unexpected behavior:

  • Open browser developer tools (F12) and check the Console tab for errors
  • Try refreshing the page
  • Clear your data from Settings → Clear All Data
On this page