-
I am having an issue pulling data from our DEV API into WEappler. But with in Wappler the response is the same.
-
I have just highlighted the responses in postman and swagger as easier to see the rest / messages (attached)
-
I cannot make call work.
-
This is the call that pulls in all the inspection data which will populate most of the screens in the web app.
-
Does anyone have any idea what he needs to do to get this call to work?
- Unsure if I am missing something in the set up OR its the API call settings?
Just wish to confirm if there is a reason - whether in Wappler / my settings in Wappler, or the API call / other, and if there is a solution ? Please not this is beyond my code scope. (= a designer )
-
Both responses in swagger and postman return same:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>SyntaxError: Unexpected token E in JSON at position 2<br> at JSON.parse (<anonymous>)<br> at createStrictSyntaxError (/app/node_modules/body-parser/lib/types/json.js:160:10)<br> at parse (/app/node_modules/body-parser/lib/types/json.js:83:15)<br> at /app/node_modules/body-parser/lib/read.js:128:18<br> at AsyncResource.runInAsyncScope (node:async_hooks:202:9)<br> at invokeCallback (/app/node_modules/raw-body/index.js:231:16)<br> at done (/app/node_modules/raw-body/index.js:220:7)<br> at IncomingMessage.onEnd (/app/node_modules/raw-body/index.js:280:7)<br> at IncomingMessage.emit (node:events:539:35)<br> at IncomingMessage.emit (node:domain:475:12)<br> at endReadableNT (node:internal/streams/readable:1345:12)<br> at processTicksAndRejections (node:internal/process/task_queues:83:21)</pre>
</body>
</html>
(edited)
Thanks!!
Last updated: