Updated to latest API version, now works