datastore/request: add API error handling

When HTTP response are != from `200` we shouldn't try to decode a protobuf.
Ack.