createProfileRelationship returns an error
Back to All

createProfileRelationship returns an error

createProfileRelationship returns the following error

i.e Object with key=follow does not exist.

I followed the exact implementation in the documentation:
LiveLike.createProfileRelationship({
relationshipTypeKey: "follow",
toProfileId: "",
fromProfileId: "",
}).then((profileRelationship) => console.log(profileRelationship))

Am I doing anything wrong?