Having some problem following the Facebook tutorial
I am stuck on this part:
When I test the oauth2 provider + authorize step without the third step; api action, it returns me the access token fine. When I add the api action query I get the following error:
{"status":"500","message":"Cannot use 'in' operator to search for 'length' in null","stack":"TypeError: Cannot use 'in' operator to search for 'length' in null\n at RedirectableRequest.write (/app/node_modules/follow-redirects/index.js:72:75)\n at /app/lib/modules/api.js:92:17\n at new Promise (<anonymous>)\n at App.send (/app/lib/modules/api.js:66:16)\n at App._exec (/app/lib/core/app.js:251:57)\n at App._exec (/app/lib/core/app.js:233:28)\n at processTicksAndRejections (internal/process/task_queues.js:93:5)\n at async App.exec (/app/lib/core/app.js:204:9)\n at async App.define (/app/lib/core/app.js:187:9)"}
I have tested everything in postman and it works fine. Any thoughts @Teodor?
Last updated: