Reference > Limits, gotchas and debugging > Gotchas (the ones that cost people an evening) GOTCHAS (THE ONES THAT COST PEOPLE AN EVENING) (1/3) Browser side 1. registerPlugin after an await is silently ignored. 2. btoa('e') throws. Encode UTF-8 first (see the b64 helper in chapter 3). 3. api.relay doesn't follow redirects, and its body is text only. 4. crypto.subtle is usually missing: http://crosspoint.local is not a secure context. 5. api.writeFile(path, '') fails. Write {} to "clear" a JSON file. 6. document.getElementById('status') may find another plugin's element. 7. A "mount": "files" plugin doesn't render on /plugins, and vice versa. 8. Your render function also runs (hidden) on /plugins-run. Don't auto-start work there. 9. The reader handles one request at a time. Promise.all of 50 fetches won't be faster, just flakier. Next: 02 Gotchas (the ones that cost people an evening) (2/3)