Error 1002 on Add in Contacts API
Hi,
I am getting a 1002 error when trying to add a contact to the phonebook, using the 0.9SDK 5th edition.
My findings have revealed that the concrete error is related with "Field Value too long for key SyncClass". While in the Doc the maximum length is 1000, it happens that no matter what I am using for the SyncClass, it always fails (I've tried "Public" and "Private").
1. How can I modify this field without having this error?. I think that is a bug, since if I try to Add the same contact retrieved by a GetList call, it fails unless y 'delete' the SyncClass field
2. Is there any feedback email address for this kind of things, instead of polluting this forum?
Thanks
/J
Re: Error 1002 on Add in Contacts API
[QUOTE=gsusmonzon;511736]Hi,
I am getting a 1002 error when trying to add a contact to the phonebook, using the 0.9SDK 5th edition.
My findings have revealed that the concrete error is related with "Field Value too long for key SyncClass". While in the Doc the maximum length is 1000, it happens that no matter what I am using for the SyncClass, it always fails (I've tried "Public" and "Private").
1. How can I modify this field without having this error?. I think that is a bug, since if I try to Add the same contact retrieved by a GetList call, it fails unless y 'delete' the SyncClass field
2. Is there any feedback email address for this kind of things, instead of polluting this forum?
Thanks
/J[/QUOTE]
Hi,
Are you trying to add a contact using Platform Services from WRT?
Can you please paste the code snippet?
AJ
Re: Error 1002 on Add in Contacts API
Hi,
you have a complete example in the official documentation:
search for 'Contacts Service API example' in the WRt documentation ([url]http://library.forum.nokia.com/topic/Web_Developers_Library/GUID-B2BCD2C0-DA4D-4830-9BF3-5DA50879A3A1.html#GUID-B2BCD2C0-DA4D-4830-9BF3-5DA50879A3A1[/url])
Hope it helps!
/J