Discrepancy between REST and remote API