Google Photos + Companion not working

Hi,

I’ve enabled Google Drive and Google Photos with Companion server which uploads to S3. Google Drive works fine, its not working with Google Photos. There are no errors, but the file is not uploaded correctly to S3. Here is the response I get in ‘upload-success’ (I’ve replaced actual companion URL for privacy reasons). You can see that size is null, what could be the issue?

{
  "source": "GooglePhotos",
  "id": "uppy-vid20241015182246/mp4-1e-video/videos/vid20241015182246/mp4-10-1f-1e",
  "name": "VID20241015182246.mp4",
  "extension": "mp4",
  "meta": {
    "authenticity_token": "bNNMVLMQnr5TkFo6yMW+803tHt2ZWl7j4S+MLymt4aNCghqwxcAW4PrdOa+rOLlZrkb3k4cfbOnswcsmv67Imw==",
    "relativePath": "videos/VID20241015182246.mp4",
    "absolutePath": "/videos/VID20241015182246.mp4",
    "name": "VID20241015182246.mp4",
    "type": "video/mp4"
  },
  "type": "video/mp4",
  "data": {
    "isFolder": false,
    "icon": "https://lh3.googleusercontent.com/lr/AAJ1LKdmvgcptAnHtkYD16-p5oplFl8RYxdy_4dO8ARwu6FBFpz9umVv5AjzVz8-J5WlrPBblXF-kXgLh4OGCy2xuPQ9zXdksv2iE8D_3USeegJiGo5Q4FP_JPx0T3GBUCewJ8ajMRyVzLFTUnF88bx3a_rOrsoKeALKwNlyi-QHMoj8ymfVWlwa2_L_kAFh5yVqVmjotVZRNDdgViKRk5H3GT-f4bW7EZNP2Fg28VXCmZmL-vZItObGi6R8_K1_bibFwz53KDsCxTAtn0cwg5iNQmRPPI9uXDHim1rczmLEnyt6yETKbNbRbx-qohQwU3XXesXs7QMD4JhxzklXZypMmMGwYT0TeY0jGwtu2P41HFBECmsu8j9vAX61M7Tmm4q0vNfKUcmi1yLpydMU9vZToxLznOctZctInIAwBEm8c2GHUj9qQAuSkG-1DHUVg2buH92qhG8QqU-2cl7ysZqCGFZTbUhDAl2iUQIz0FgO-yKK0zsCETwmOQmbjphJwStzB0Y30H80ApN2lJXHBOazjYqLGg3VTBKr0zpEgn1YSjRov9AY6XObpeD1ukQ2CLQmYoGAm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JGIZSY4HDOtfuViOa395kALnqVCEk0ijC2XqGiKiToZhRwoG4DbD4bxNqzv6-FhJx6SJgqanj00Dn89y3GBFE8LuemNFvsIW5FoV_jq_oUnFn3zTmjpR3FgmX2H5GCcMUGvqTb9aAUypXYQAI6hNMBlM7RoAfeZ7um2X2cikIbEgmxWTEaXfMJ8NyYg8HsrUGj5CC268R9Xw7xkpfB5fAythebp3qcqYBCtwnwMPxHbG6d9BUfkZEBWQJ_whkfX32insWpt6kot_kI7N-otWf8ReQKDZSrpsYpqIi708UN6KR9PbqYDUYE_1q52ztnRQS_dFEfw9Tb60o-iLCMAVWnkOfwPgwIJYEb7sg5CXvG11CQEbdk=w300-h300-c",
    "name": "VID20241015182246.mp4",
    "id": "AB81UlDDd7u3AmZTwzv6GLxNp-bsQtN6rleUVD9E4EKrUWh8aHhUT2-WU6qLyYiwJVRqgwV4NLrI",
    "mimeType": "video/mp4",
    "requestPath": "AB81UlDDd7u3AmZTwzv6GLxNp-bsQtN6rleUVD9E4EKrUWh8aHhUT2-WU6qLyYiwJVRqgwV4NLrI",
    "custom": {},
    "absDirPath": "/sphuranam videos/VID20241015182246.mp4",
    "relDirPath": "sphuranam videos/VID20241015182246.mp4"
  },
  "progress": {
    "uploadStarted": 1729149611350,
    "uploadComplete": false,
    "percentage": 100,
    "bytesUploaded": 88898,
    "bytesTotal": 88898
  },
  "size": null,
  "isGhost": false,
  "isRemote": true,
  "remote": {
    "companionUrl": "https://mycompabnion.url",
    "url": "https://https://mycompabnion.url/googlephotos/get/AB81UlDDd7u3AmZTwzv6GLxNp-bsQtN6rleUVD9E4EKrUWh8aHhUT2-WU6qLyYiwJVRqgwV4NLrI",
    "body": {
      "fileId": "AB81UlDDd7u3AmZTwzv6GLxNp-bsQtN6rleUVD9E4EKrUWh8aHhUT2-WU6qLyYiwJVRqgwV4NLrI"
    },
    "providerName": "Googlephotos",
    "provider": "googlephotos",
    "requestClientId": "googlephotos"
  },
  "preview": "https://lh3.googleusercontent.com/lr/AAJ1LKdmvgcptAnHtkYD16-p5oplFl8RYxdy_4dO8ARwu6FBFpz9umVv5AjzVz8-J5WlrPBblXF-kXgLh4OGCy2xuPQ9zXdksv2iE8D_3USeegJiGo5Q4FP_JPx0T3GBUCewJ8ajMRyVzLFTUnF88bx3a_rOrsoKeALKwNlyi-QHMoj8ymfVWlwa2_L_kAFh5yVqVmjotVZRNDdgViKRk5H3GT-f4bW7EZNP2Fg28VXCmZmL-vZItObGi6R8_K1_bibFwz53KDsCxTAtn0cwg5iNQmRPPI9uXDHim1rczmLEnyt6yETKbNbRbx-qohQwU3XXesXs7QMD4JhxzklXZypMmMGwYT0TeY0jGwtu2P41HFBECmsu8j9vAX61M7Tmm4q0vNfKUcmi1yLpydMU9vZToxLznOctZctInIAwBEm8c2GHUj9qQAuSkG-1DHUVg2buH92qhG8QqU-2cl7ysZqCGFZTbUhDAl2iUQIz0FgO-yKK0zsCETwmOQmbjphJwStzB0Y30H80ApN2lJXHBOazjYqLGg3VTBKr0zpEgn1YSjRov9AY6XObpeD1ukQ2CLQmYoGAm4rlEHmywi07pekPEAiu_bTRDuwY_PnnYzCPwJhf9oqpzNY8tJGIZSY4HDOtfuViOa395kALnqVCEk0ijC2XqGiKiToZhRwoG4DbD4bxNqzv6-FhJx6SJgqanj00Dn89y3GBFE8LuemNFvsIW5FoV_jq_oUnFn3zTmjpR3FgmX2H5GCcMUGvqTb9aAUypXYQAI6hNMBlM7RoAfeZ7um2X2cikIbEgmxWTEaXfMJ8NyYg8HsrUGj5CC268R9Xw7xkpfB5fAythebp3qcqYBCtwnwMPxHbG6d9BUfkZEBWQJ_whkfX32insWpt6kot_kI7N-otWf8ReQKDZSrpsYpqIi708UN6KR9PbqYDUYE_1q52ztnRQS_dFEfw9Tb60o-iLCMAVWnkOfwPgwIJYEb7sg5CXvG11CQEbdk=w300-h300-c",
  "serverToken": "374c514e-32ae-4b9c-9c5c-bc376b13060e"
}

Any help is appreciated.

Thanks,
Leena

Can someone help to fix it? Let me know if anything is not clear and anything needs more clarification.

Thanks,
Leena