Sandbox error "BusinessClassification invalid"

(Mike McGranahan) #1

Hello, I’m trying to create a verified business customer (soleProprietorship) and I’m pulling the list of business classifications from the API. Regardless of which business classification id I use, the API responds with a 500 and “BusinessClassification invalid”.

Request payload:

  "address1":"99-99 33rd St",
  "businessName":"Jane Corp",
  "city":"Some City",


   "message":"Validation error(s) present. See embedded errors list for more details.",
            "message":"BusinessClassification invalid.",


What am I missing?

(Spencer Hunter) #2

Hi @mike_reasi, The list of business classifications will contain an _embedded list of industry classifications. You’ll want to make sure you’re selecting an industry classification Id and not a Business Classification Id. For example, if the business classification is “Food retail and service” then you’ll want to select an industry classification ID within that like “Restaurant” with an ID of 9ed3f673-7d6f-11e3-adb1-5404a6144203. It’s recommended to cache the list of industry classification ids used on your platform vs. calling the API each time or storing the full list of Ids.

Hope this helps, please let us know if you continue to run into issues!

(Mike McGranahan) #3

Awesome, got it. Thanks!