Skip to main content
Question

User Already Exist (API_ProvisionUser)

  • July 16, 2019
  • 0 replies
  • 96 views

Hey Guys,

I'm trying to create a user profile for My realm through API_ProvisionUser. I'm using Javascript/Jquery in pages section to achieve this API call.

I can create everyone's profile except the one who already has a QuickBase profile with a different realm. If I add the existing user with QuickBase UI, It is working fine but it is giving the following error when trying to add the same existing user with API...

I tried giving my Admin credentials and the user token but none of these things are working for me.

Thanks in advance.
<?xml version="1.0" ?>
<qdbapi>
<action>API_ProvisionUser</action>
<errcode>111</errcode>
<errtext>A user already exists.</errtext>
<errdetail>User already exists</errdetail>
</qdbapi>
This topic has been closed for replies.

In situations where the user exists - you'll have to swap out ProvisionUser for API_AddUserToRole instead. Provision user can't add someone when they already have a User ID - so you just need to add them to your specific app - AddUserToRole is the go to

Chayce Duncan | Director of Strategic Solutions
(720) 739-1406 | chayceduncan@quandarycg.com
Quandary Knowledge Base