1

I'm testing backand platform and got this error

http://localhost:8100/?ionicplatform=ios&error=%7B%22message%22:%22Cannot%20insert%20duplicate%20key%20row%20in%20object%20%27dbo.durados_UserSocial%27%20with%20unique%20index%20%27IX_durados_UserSocial_UserId_Provider%27.%20The%20duplicate%20key%20value%20is%20(387068,%20facebook).%0D%0AThe%20statement%20has%20been%20terminated.%22,%22provider%22:%22facebook%22%7D#/tabs/dashboard

This is a project started from http://market.ionic.io/starters/ionic-backand-with-social according to Getting started mobile.

I couldn't get any match on google

I think it could be because I'm logging in with the same account that I created the app in backand, however, shouldn't it be possible to just make a login instead of try to register it (or whatever it's trying to do)?

This worked with project default keys for facebook.

  • can paste here the code that generate this error, what is the api you are calling, or the network tab – user3375230 May 09 '16 at 07:18
  • I have the same error. Code exactly same as in [examples](https://github.com/backand/backand-ionic-social). I changed only configuration section: `BackandProvider.setAppName('***');` `BackandProvider.setSignUpToken('***');` `BackandProvider.setAnonymousToken('***');` – Ivan Burlutskiy May 10 '16 at 20:25
  • 1
    Error happens only if login in facebook by owner of facebook app. For other users it works. – Ivan Burlutskiy May 10 '16 at 21:36
  • Please provide step by step description so i can reproduce, please provide any information or code snippet relevant, did u signed up to backand with fb, did u removed the user from the registered user...? – user3375230 May 11 '16 at 09:51
  • Trying to signup with fb. Just 1 moment - the user is owner of fb app – Ivan Burlutskiy May 11 '16 at 10:41
  • yeah, the problem seems to be only for my user, which is fb app owner, and this.app owner :) – José Lecaros Cisterna May 14 '16 at 21:39
  • just to compliment my previous comment. This is vanilla code as stated in the question, I've only changed the credentials and the facebook app (which I created in facebook platform) – José Lecaros Cisterna May 15 '16 at 15:56

0 Answers0