Unable to see images uploaded to folder with google drive api

Hello,

I have a sheet with the image filename and in the folder an image with that specified name in the sheet. 

The images are uploaded through the google api. Appsheet does not see the image or it doesnt show it. At first I thought that it was an ownership issue as the images are owned by the service account and not my personal drive account. So I uploaded the images to a shared folder and than with a script i copy them into the appsheet folder. Now I am the owner but this did not solve it and images are not showing in appsheet.

If I change the name of the file, without really changing it (like adding a letter and then removing it) then they show up in appsheet. 

I also checked the url to see the error message but it just says image not found.

Does anyone know what I am doing wrong?

0 2 100
2 REPLIES 2

Sounds buggy... or that the name change somehow refreshes the path to a valid address (like removing an "enter" or "space")...  

I found the issue. It was indeed an extra space after *.jpg. I am using sys.stdin.readline() in my python script. Using sys.stdin.readline()[:-1] instead solved my problem.