Question
REST API Error code 1006
We're trying to use the REST API to insert some leads, but we're getting an odd response.
Request:
{"action":"createOrUpdate","input":[{"email":"test@abc.com","firstName":"test","postalCode":"11111","company":"Test"}]}
Response:
{"requestId":"17322#147b213b6cc","success":false,"errors":[{"code":"1006","message":"Field 'Company' not found"}]}
Even when we take out the "company" line, we get the error about Company not found.
Request:
{"action":"createOrUpdate","input":[{"email":"test@abc.com","firstName":"test","postalCode":"11111","company":"Test"}]}
Response:
{"requestId":"17322#147b213b6cc","success":false,"errors":[{"code":"1006","message":"Field 'Company' not found"}]}
Even when we take out the "company" line, we get the error about Company not found.