german
12
Thanks for this insight! I thought so too. Some notes:
- It’s our own API service. It’s a very silly service that creates Folder on G Drive.
- JSON lint OK.
- Once we noticed this error we modified the API no make sure this would not cause an issue,
- However, upon “fixing” and then trying again, it would still not work.
- The call to our API works without the character via Bubble AND via POSTMAN (with and without character). Hence we assume the API is not the issue.
- I found this online, upon trying to add \ to the folder name in Bubble when initializing the call, the call breaks with message like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>SyntaxError: Bad escaped character in JSON at position 91<br> at JSON.parse (<anonymous>)<br> at parse (/api/node_modules/body-parser/lib/types/json.js:92:19)<br> at /api/node_modules/body-parser/lib/read.js:128:18<br> at AsyncResource.runInAsyncScope (node:async_hooks:206:9)<br> at invokeCallback (/api/node_modules/raw-body/index.js:238:16)<br> at done (/api/node_modules/raw-body/index.js:227:7)<br> at IncomingMessage.onEnd (/api/node_modules/raw-body/index.js:287:7)<br> at IncomingMessage.clsBind (/api/node_modules/cls-hooked/context.js:172:17)<br> at IncomingMessage.emit (node:events:518:28)<br> at IncomingMessage.emitted (/api/node_modules/emitter-listener/listener.js:134:21)</pre>
</body>
</html>```