You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

"API was accessed in a non-supported manner" error on create()

Accepted answer
14
Views
4
Comments
edited Sep 11, 2021 9:57PM in Integrations and APIs 4 comments

Summary

Error when using create()

Content

Edit: Updated title since it doesn't appear to be specific to account

 

I get the error:

"API was accessed in a non-supported manner."

when trying to create a new Account or Contact

 

Version

18b

Code Snippet

...

Account newAccount = new Account();
            newAccount.Login = "newTestAccount12345";
            newAccount.Name = new PersonFullName();
            newAccount.Name.First = "testFirst";
            newAccount.Name.Last = "testLast";
            newAccount.DisplayName = "test display";
            newAccount.Profile = new NamedID();
        
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!