Using REST api to get a GL balance. Failing with unusual message

Here is the link to a forum thread that talks about getting “B” -type records in the GLPeriodBal table. (Or at least that is what I gather, without actually trying it for myself):