Page 1 of 1

Error when i create new user

Posted: Mon Jun 16, 2014 2:16 pm
by Jordi Niubo

I have this error when i create new users

{"code":"DBUS000","description":"This wasn't supposed to happen but an error occurred. Please try again. If the error persists please let us know on the http://appery.io/forum or email us: a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a"}


Error when i create new user

Posted: Mon Jun 16, 2014 3:05 pm
by Kateryna Grynko

Hi Jordi,

Could you please post screen shots of service settings and request parameters? Is the error reproducible in service Test tab?


Error when i create new user

Posted: Mon Jun 16, 2014 3:09 pm
by Jordi Niubo

Hi,

When i Test this service in Test Tab work correctly, but when I call with buttons send me this error.

This service was working some days ago, but now don't work.


Error when i create new user

Posted: Mon Jun 16, 2014 4:45 pm
by Kateryna Grynko

Hi Jordi,

Please post a screenshot of service mapping.


Error when i create new user

Posted: Tue Jun 17, 2014 10:16 am
by Jordi Niubo

Error when i create new user

Posted: Wed Jun 18, 2014 1:46 pm
by Evgene Karachevtsev

Hello Jordi.

In parameter acl object should be passed, not a string. If you dont need to set some specific acl, you should just remove this parameter and it will be created automatically. If you need to set it, add JS in mapping and return object you need from this JC, for example:

codereturn {"*":{"read":true},"53a18b6ee4b09f5c7d4e0000":{"read":true,"write":true}};/code