Question Details

Getting user not found for the user profile API


I am getting response code as 404 i.e. not found for a userId which is valid for the below mentioned API. api to fetch user profile :{userId}

Please check and revert soon.

Profile picture


Profile picture
Henry Wu 吳冠霆
Posted: 1 years ago

Make sure the {userId} is the ID that returned from a webhook event object. Do not use the LINE ID found on LINE. The {userId} is a string that matches the regular expression, U[0-9a-f]{32}

Profile picture
Caller Tech
Posted: 1 years ago{userId

Profile picture
Posted: 1 years ago

Also the UserId you get from LINE is unique to your LINE Channel Id. Which means if you collected the UserId with another LINE Channel Id, you won't be able to use it with this Channel Id.

I think this is done to avoid people/companies that would sell list of "customers" to marketers, etc.

Are you sure? question.vm