I’m using a backendless.data.of API to get all the data from an object table. It works perfectly fine while debugging - returns all the results but the release build throws this error: FAULT = ‘1900’ [Entity is missing or null]. What does this mean? What am i doing wrong?
Please, provide appId, and code example, which we can run on our device.
We create inner task for investigating your problem.
App ID: C8AACC79-ED68-42EB-FF4C-B84CA109A600
Code:
func fetchAllIndustries() {
let query = BackendlessDataQuery()
self.backendless.data.of(Industry.ofClass()).find(
query,
response: {
(inds: BackendlessCollection!) -> () in
print("industries - \(inds.getCurrentPage().count)")
let currentPage = inds.getCurrentPage()
for ind in currentPage {
if let ind = ind as? Industry {
self.allindustries.addObject(ind) }
}
},
error: { (fault: Fault!) -> () in
print("\(fault)")
//this prints FAULT = '1900' [Entity is missing or null]
}
)
}