Couldn't load body of ... status 404

7 views
Skip to first unread message

Brendan Duddridge

unread,
Dec 8, 2016, 2:00:59 PM12/8/16
to Couchbase Mobile
Hi,

I'm suddenly seeing a bunch of 'couldn't load body of' errors displayed when working with a ForestDB database.

11:44:44.852| WARNING: <CBL_ForestDBQueryEnumerator: 0x11ed4e720>: Couldn't load body of pik-95e6de68c7c844ed91c38377085c5355 (seq 2847): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:44:44.857| WARNING: <CBL_ForestDBQueryEnumerator: 0x11ed4e720>: Couldn'
t load body of pik-5293ce8ccd3045d09a2919f9ea342f22 (seq 2836): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:45:26.950| WARNING: <CBL_ForestDBQueryEnumerator: 0x1140b9c00>: Couldn't load body of rec-1619087DADE34AED992C0CD70445AF52 (seq 3699): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:45:26.951| WARNING: <CBL_ForestDBQueryEnumerator: 0x1140b9c00>: Couldn'
t load body of rec-debd73c729ca4e4cb6e42a09fb33bc3e (seq 11286): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:45:26.951| WARNING: <CBL_ForestDBQueryEnumerator: 0x1140b9c00>: Couldn't load body of rec-f3b170c32a8c451a8bd45fc24ac35e15 (seq 12066): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:45:26.951| WARNING: <CBL_ForestDBQueryEnumerator: 0x1140b9c00>: Couldn'
t load body of rec-f8c8623c0ff44201b741b03f174a6b3e (seq 12286): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:45:26.953| WARNING: <CBL_ForestDBQueryEnumerator: 0x1140b9c00>: Couldn't load body of rec-1619087DADE34AED992C0CD70445AF52 (seq 3699): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}
11:45:26.954| WARNING: <CBL_ForestDBQueryEnumerator: 0x1140b9c00>: Couldn'
t load body of rec-debd73c729ca4e4cb6e42a09fb33bc3e (seq 12627): status 404 {at -[CBL_ForestDBQueryEnumerator generateNextRow]:204}



What could be causing this? Is this database file corruption in ForestDB? I tried compacting the database, but the errors persisted.

The document IDs in the errors tell me it's 2 of my Pick List entities and 6 of my Record entities. 

I would like to be able to prevent this problem from happening in the future.

Thanks,

Brendan

Jens Alfke

unread,
Dec 8, 2016, 8:11:50 PM12/8/16
to Couchbase Mobile
Weird. It looks like this is querying a view? If so, the view index might be wrong for some reason. Try rebuilding it, i.e. by changing the version of the map block.

—Jens
Reply all
Reply to author
Forward
0 new messages