function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ankit GoyalAnkit Goyal 

Logging & creating feedItem through REST & SOAP Api

Hi,
I am trying to login as customer user through Connect Api to create a feedItem in a community but it is throwing exception as
exceptionCode='INVALID_LOGIN'
exceptionMessage='Invalid username, password, security token; or user locked out.'

I am using AuthEndPoint as "http://ip:port/services/Soap/c/32.0" in Enterprise Connection & then after I want to create the feedItem through Api only.

Moreover in SOAP Api, How can I create feedItem as customer & partner user in the community after login?
Abhinav GuptaAbhinav Gupta
#1 Are you sure that API version 32.0 is out yet ? latest available is "Version 31.0: Summer ’14". 

#2 Luckily, you never need to specify any port in Salesforce API calls, only host name should suffice.

Ankit GoyalAnkit Goyal
Okay! Its done.