Issues with attempting to Create a Compound Index

Your code is wrong and does not match the comment as the field decodedUserId is not part of the index.