DavidChoi
6 years agoQrew Trainee
API_GetUserInfo problem?
I was trying the API_GetUserInfo call and was getting an unexpected result from the API.
It's returning "Received err #5 : No Such Operation." All the other API calls I make are coming through as expected. I'm using Python and customizing the PyQB library to add in some user management functionality. My API_SendInvitation, API_ProvisionUser, and API_ChangeUserRole are all working properly. My XML request looks like this:
<qdbapi>
<email>test@test.com</email>
<ticket>secretTicketStuff</ticket>
<encoding>UTF-8</encoding>
</qdbapi>
Header looks like:
Can anybody run that API call successfully and see if it's just me? (It smells like the server to me.)
------------------------------
David Choi
------------------------------
It's returning "Received err #5 : No Such Operation." All the other API calls I make are coming through as expected. I'm using Python and customizing the PyQB library to add in some user management functionality. My API_SendInvitation, API_ProvisionUser, and API_ChangeUserRole are all working properly. My XML request looks like this:
<qdbapi>
<email>test@test.com</email>
<ticket>secretTicketStuff</ticket>
<encoding>UTF-8</encoding>
</qdbapi>
Header looks like:
headers = {
"Content-Type": "application/xml",
"Accept-Charset": "utf-8",
"QUICKBASE-ACTION": "API_GetUserInfo"
}
------------------------------
David Choi
------------------------------