Closed greg-md closed 1 year ago
Have you tried updating the API version your app is targeting?
I ask because v4
of the SDK targets 2.6
of the API
@colmdoyle The app is still using 1.0 version.
That's your issue. In order to use the latest SDK, you also need to use the latest API version. We could probably do a better job of documenting that.
The notion of a User or Lead as distinct objects was removed in 2.0
of the API
So if I will create another app on Developer Hub, and use the v4 sdk, would it still work with old users?
Is there a way to migrate all that without affecting existing data?
So if I will create another app on Developer Hub, and use the v4 sdk, would it still work with old users?
Yes, you'll just need to use the Contacts API.
Is there a way to migrate all that without affecting existing data?
No migration needed, just use the new endpoints.
Thank you. Seems like it worked with creating new auth token for newer api version.
I tried to create a user based on the example from the readme, but it was created as a lead with missing most of the params.
As a result, I got a Lead created with missing
externalId
,signedUpAt
andlastSeenAt
. Do I miss something?PS: Until now our app was using v2 of the package, so now we are trying to migrate to v4, but nothing is working properly.
Also tried to send a message to an existing user, but it says that user is not found.