Problem was actually integer overflow in the requested data layers (1 << 31) does not fit in an integer, it only goes up to (1 << 31) - 1.
Problem was actually integer overflow in the requested data layers (1 << 31) does not fit in an integer, it only goes up to (1 << 31) - 1.