Either the property Photo returns null or there is no property Photo or the results array is empty or not existent at all.
Just remove the question marks from your expression and the error message will tell you.
If you don't care what caused the error and just want to get rid of it, you can use:
json(coalesce(body('Send_an_HTTP_request_to_SharePoint')?['d/results']?[0]?['Foto1'], '{}'))
This expression returns an empty object if Photo is null.