I'm facing an issue with a multi lookup field while doing a REST API call using pnp-js.

So I have this list (let's call it A) that looks up into another list (let's call it B) using a lookup field (let's call it lookupB). It's a multi look up field. I'm retrieving many values from list B using this lookup field in list A. If any of these fields in B that I'm trying to fetch using the lookup field is empty, I get an error saying Cannot get value for projected field lookupB_x005f_EmptyFieldName

How do I fix this? I cannot guarantee that every field that I am fetching from list B will have values for all instances.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.