SharpSpring's API allows your application to connect to the internal CRM functionality of SharpSpring. SharpSpring has a distinct API organization. This article will detail the error codes listed within the SharpSpring API.
|
Available with: | ||||
Marketing Automation | ✓ | ||||
CRM Ultimate | ✓ | ||||
CRM PRO | ✓ | ||||
CRM Free | ✓ | ||||
Toolbar: | |||||
![]() |
|||||
Users: | |||||
Administrators | ✓ | ||||
Company Managers | |||||
Marketing Managers | |||||
Sales Managers | |||||
Salespersons | |||||
Jr. Salespersons | |||||
Additional API Information
This article details specific content about error codes in SharpSpring's API. However, given the size and scope of the API, information is broken up and is contained in different articles. Each article focuses on a specific function of SharpSpring's API. Additional API information can be found in the following articles:
Error Codes
Error objects can be returned in the case where an API-level error—such as an invalid login— is supplied, or where an object-level error—such as an invalid field—is supplied. In the case of object-level errors, the request has succeeded. No request-level errors will be supplied.
The following are the available error codes within the SharpSpring API:
|
Message |
Code | ||
Invalid request data format. |
101 |
|||
Header missing request ID . |
102 |
|||
Header missing account ID . |
103 |
|||
Header missing Secret Key . |
104 |
|||
User authentication failed. |
105 |
|||
Exceeded daily method call limit. |
106 |
|||
Exceeded per second method call limit. |
107 |
|||
Missing method signature. |
201 |
|||
Missing params array. |
202 |
|||
Missing header array. |
203 |
|||
Invalid method signature. |
204 |
|||
Invalid parameters. |
205 |
|||
Missing parameters. |
206 |
|||
Missing objects array. |
207 |
|||
Object is malformed (expected array, got scalar). |
208 |
|||
Attempting to execute an excess amount of queries. |
209 |
|||
Got array, expected variable. |
210 |
|||
Only custom fields can be deleted. |
211 |
|||
Object is not owned by the company. |
212 |
|||
The lead you tried to add is already a member. |
213 |
|||
The lead you tried to add does not exist for this account. |
214 |
|||
You have supplied an invalid country code. |
215 |
|||
Company not found. Please make sure the ID supplied belongs to your company. |
216 |
|||
Incorrect parameter value supplied. |
217 |
|||
Invalid username supplied, needs to be in the form of a email address. |
218 |
|||
Incorrect eventSource value supplied. |
219 |
|||
Please supply a valid whoID . |
220 |
|||
The current username/email address is already in use by another account. |
221 |
|||
You have exceeded the amount of leads to process. A max of 100 leads is allowed. |
222 |
|||
Please make sure to add all relevant fields for a user is supplied: |
223 |
|||
Entry already exists. |
301 |
|||
No table rows affected. |
302 |
|||
Cannot add or update a child row: a foreign key constraint fails. |
303 |
|||
No sub-accounts supplied. |
304 |
|||
Permission denied. You are not a reseller. |
305 |
|||
Permission denied. You do not manage these accounts. |
306 |
|||
Sub account not found. |
307 |
|||
A record with that ID does not exist. |
404 |
|||
Unknown error. Please contact SharpSpring Developer Support. |
999 |