{
"code": "ModelRequiredException",
"target": "Unknown",
"details": [
{
"code": "ModelRequiredException",
"number": 38,
"message": "A required model was not provided.",
"description": "Please verify that your request included a request body in valid JSON format.",
"faultCode": "Client",
"helpLink": "http://developer.avalara.com/avatax/errors/ModelRequiredException",
"severity": "Exception"
}
]
}
This error indicates that you failed to provide a Request Body with your API call. An HTTP request looks like this:
POST /api/v2/transactions/create HTTP/1.1
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=
Content-Type: application/json
Content-Length: 23
{
"name": "value"
}
In this case, each element has a specific meaning:
If you are seeing this error message, it indicates that you failed to pass in a request body, or the request body was not recognized. For more information, please visit the documentation for your API endpoint and look closely at the expected object structure.
Common troubleshooting: