Hey, I'm trying to create item with "Category" type and I'm getting error "Invalid Type : CATEGORY is supported only in minorVersion >= 4". I'm doing something like this:
batch_request = Quickbooks::Model::BatchRequest.new
service = Quickbooks::Service::Batch.new(access_token: access_token, realm_id: realm_id)
item = Quickbooks::Model::Item.new(id: 1, type: "Category", name: "test")
batch_request.add("bId1", item, "create")
batch_response = service.make_request(batch_request)
batch_response.response_items.first.fault.errors
=> #<Quickbooks::Model::Fault::Error:0x00007fedf2f41ce8
@code="2120",
@detail="Invalid Type : CATEGORY is supported only in minorVersion >= 4",
@element="Type",
@message="Invalid Type",
@roxml_references=
...
I'm wondering if I'm doing something wrong or maybe type "Category" isn't really allowed for Items and the gem shouldn't allow it?
Hey, I'm trying to create item with "Category" type and I'm getting error "Invalid Type : CATEGORY is supported only in minorVersion >= 4". I'm doing something like this:
I'm wondering if I'm doing something wrong or maybe type "Category" isn't really allowed for Items and the gem shouldn't allow it?