Error with Linkedin Node when posting as an Organization

I can’t post as my Organization profile however I can post as a Person just fine.

Field Value validation failed in REQUEST_BODY: Data Processing Exception while processing fields [/author] on linkedin

Google pointed me to this solution. Field Value validation failed in REQUEST_BODY: Data Processing Exception while processing fields [/author] on linkedin ugcPost - Stack Overflow

{"name":"StatusCodeError","statusCode":403,"message":"403 - {\"serviceErrorCode\":100,\"message\":\"Field Value validation failed in REQUEST_BODY: Data Processing Exception while processing fields [/author]\",\"status\":403}","error":{"serviceErrorCode":100,"message":"Field Value validation failed in REQUEST_BODY: Data Processing Exception while processing fields [/author]","status":403},"options":{"timeout":300000,"headers":{"Accept":"application/json","X-Restli-Protocol-Version":"2.0.0","Authorization":"Bearer AQXXfoOwbvJd0hG0jq0csaih_eM1ac1-qcSCJ_i5Gj18KHlfAwitMnxIfqsZmsZNJ50B2bz83NMlE-l5vEBUUh5EgNOhjrg9KidD_k837DRSc4TAnp4EGUAISdjc1SkO6NuMey7Th7QVINp5fAFog1i7Oh8ZcupSxJOX5-yA1GYK6LWuaL3insJakuOSUzl0sT5Cie8IDqgVY4WMx1Fwb_GFVyUXD_OYDbpJWNDVhBzZgTBzZAzlnUa5p2dipLVIQRww8myYVw3b1symQRndokYMBT075W2K30U7lsh5REmE_BBqIrQISFMCWHXtizrsc8PxE438o3O8mFfPhL-p15m2olO1Tg"},"method":"POST","body":{"author":"urn:li:organization:27103278","lifecycleState":"PUBLISHED","specificContent":{"com.linkedin.ugc.ShareContent":{"shareCommentary":{"text":"🔥We currently have 3667 remote jobs from 864 VC backed startups on the @Incluzion Remote Jobs Board.\n🔥303 added in past 24hrs\n👇🏾\n🔥198 Customer Support\n🔥1943 Misc.\n🔥4 Product\n🔥724 Sales/Marketing\n🔥777 Software Dev.\n🔥16 Writing\n\n🔗 incluzion.co/jobs"},"shareMediaCategory":"NONE"}},"visibility":{"com.linkedin.ugc.MemberNetworkVisibility":"PUBLIC"}},"url":"https://api.linkedin.com/v2/ugcPosts","json":true,"simple":true,"resolveWithFullResponse":false,"transform2xxOnly":false},"response":{"statusCode":403,"body":{"serviceErrorCode":100,"message":"Field Value validation failed in REQUEST_BODY: Data Processing Exception while processing fields [/author]","status":403},"headers":{"x-li-responseorigin":"RGW","x-restli-gateway-error":"true","content-type":"application/json","content-length":"156","date":"Fri, 14 Jan 2022 02:44:48 GMT","x-li-fabric":"prod-ltx1","x-li-source-fabric":"prod-lva1","x-li-pop":"prod-lva1-x","x-li-proto":"http/1.1","x-li-uuid":"AAXVgclPsd5vVKmKv2ELpg==","set-cookie":["bcookie=\"v=2&fdc7967f-cc93-4e66-8e14-d9635e89f0ca\"; domain=.linkedin.com; Path=/; Secure; Expires=Sun, 14-Jan-2024 14:22:20 GMT; SameSite=None","lidc=\"b=TB53:s=T:r=T:a=T:p=T:g=3059:u=513:x=1:i=1642128288:t=1642132215:v=2:sig=AQEopnuv1qwmMeQ2SRzwGOhv5J6bg-DB\""],"x-li-route-key":"\"b=TB53:s=T:r=T:a=T:p=T:g=3059:u=513:x=1:i=1642128288:t=1642132215:v=2:sig=AQEopnuv1qwmMeQ2SRzwGOhv5J6bg-DB\""},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"api.linkedin.com","port":443,"hostname":"api.linkedin.com","hash":null,"search":null,"query":null,"pathname":"/v2/ugcPosts","path":"/v2/ugcPosts","href":"https://api.linkedin.com/v2/ugcPosts"},"method":"POST","headers":{"Accept":"application/json","X-Restli-Protocol-Version":"2.0.0","Authorization":"Bearer AQXXfoOwbvJd0hG0jq0csaih_eM1ac1-qcSCJ_i5Gj18KHlfAwitMnxIfqsZmsZNJ50B2bz83NMlE-l5vEBUUh5EgNOhjrg9KidD_k837DRSc4TAnp4EGUAISdjc1SkO6NuMey7Th7QVINp5fAFog1i7Oh8ZcupSxJOX5-yA1GYK6LWuaL3insJakuOSUzl0sT5Cie8IDqgVY4WMx1Fwb_GFVyUXD_OYDbpJWNDVhBzZgTBzZAzlnUa5p2dipLVIQRww8myYVw3b1symQRndokYMBT075W2K30U7lsh5REmE_BBqIrQISFMCWHXtizrsc8PxE438o3O8mFfPhL-p15m2olO1Tg","content-type":"application/json","content-length":538}}}}

Hi @datdudejibril, did you enable this toggle in your LinkedIn credentials inside n8n (and reconnect once done)?

image

Yes I tried that before and reached the “broken link” linked page during the oauth.

Now I see an additional error.

{"code":0,"message":"Insufficient parameters for OAuth2 callback. Received following query parameters: {\"error\":\"unauthorized_scope_error\",\"error_description\":\"Scope "w_organization_social" is not authorized for your application\",\"state\":\"eyJ0b2tlbiI6Ijh1Nm1WejVaLXZob3RUWHkzdWZtX1lpTlJFYjdENXJxNjc5dyIsImNpZCI6IjI2In0=\"}","hint":""}

So I’m missing the rw_organization_social permission which is only available to marketing If I have the marketing developer platform product added.