Object reference not set to an instance of an object

Error Description

The request body of the /api/v2/afc/PCode ZipLookup request is empty or incomplete.

Example

{
  "err": [
    {
      "code": -1000,
      "msg": "Object reference not set to an instance of an object."
    }
  ]
}

How to Resolve

  • Confirm that a request body is included in your API call
  • Verify that the format of the JSON request to ensure all required objects are included in your request
  • Validate that all fields are set with the proper data type - see the Reference section for more information
  • Verify the structure of the JSON is complete (for example, no missing braces or commas)

For more information, see ZipLookup Request.