My python rest API receives a JSON and extracts the values from keys.
Problem: The program throws a keyError and exits if any one key is not present or if the keys' value is null. The function is not inside a loop.
I want the program to continue execution even if the key is not present.