You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'name' of null
at FormData._getContentDisposition (/user_code/node_modules/fb/node_modules/form-data/lib/form_data.js:226:39)
at FormData._multiPartHeader (/user_code/node_modules/fb/node_modules/form-data/lib/form_data.js:177:33)
at FormData.append (/user_code/node_modules/fb/node_modules/form-data/lib/form_data.js:70:21)
at appendFormValue (/user_code/node_modules/fb/node_modules/request/request.js:323:21)
at Request.init (/user_code/node_modules/fb/node_modules/request/request.js:334:11)
at new Request (/user_code/node_modules/fb/node_modules/request/request.js:128:8)
at request (/user_code/node_modules/fb/node_modules/request/index.js:53:10)
at Facebook.value (/user_code/node_modules/fb/lib/fb.js:479:26)
at Facebook.value (/user_code/node_modules/fb/lib/fb.js:399:22)
at Facebook.api (/user_code/node_modules/fb/lib/fb.js:276:16)
Strangely the stack trace seems to suggest that the library is trying to send the params using form-data rather than www-form-urlencoded. Which suggests two problems, but which the code sample you provide doesn't actually support.
Firstly, your code sample is not a post, unless you are doing a post none of form data calls in that stack should be getting called.
Secondly, unless you're using upload objects the data should not be getting passed as formData.
Could you first check to make sure that none of the variables you're passing in are null.
I am getting the below exception
on doing this,
The text was updated successfully, but these errors were encountered: