Getting keyerror on "id"

I am trying to pop the value at key “id” in the json response. But it gives a keyerror while running the python code inside the workflow. I am unable to understand this keyerror.
I have checked the json separately and I can see the key “id” exists (Check below ss). In this case, the example contact id is 26528201. But this issue is occuring for a lot of contacts.
Can someone please suggest a resolution for this.

@SJain54

Hi.

Is your call ‘output.pop(‘id’)’ before set ‘customer_id’ ?

If your call ‘pop’ before, ‘id’ is removed.

‘pop’: Remove the item at the given position in the list, and return it.

If not, please provide the more source code if possible.

Thanks.