Error 201: Camera Doesn't Return Image

web admin will be used to receive user profile data and confirm incoming reports from the application that I made

hello i wanna ask something,i got this error in my sheet when i test the app.
this show in sheet


this is the block

this is the script

Try changing parameters to parameter (remove the s at the end) for the four items you have added

https://developers.google.com/apps-script/guides/web#request_parameters

i try that but the result still like before

Well, if this:

var JudulLaporan = e.parameter.JudulLaporan;
var IsiLaporan = e.parameter.IsiLaporan;
var Tanggal = e.parameter.Tanggal;
var Instanti = e.parameter.Instanti;

doesn't work, try this way:

var JudulLaporan = e.parameters.JudulLaporan[0];
var IsiLaporan = e.parameters.IsiLaporan[0];
var Tanggal = e.parameters.Tanggal[0];
var Instanti = e.parameters.Instanti[0];

One of them has to work (they are both working for me)

its work but table (Lon,Add,Name) still empty

Do the same with those:

var lat = e.parameter.lat;
var lon = e.parameter.lon;
var add = e.parameter.address;
var name = e.parameter.filename;

or

var lat = e.parameters.lat[0];
var lon = e.parameters.lon[0];
var add = e.parameters.address[0];
var name = e.parameters.filename[0];

its work now thank you so much.

i wanna ask another question do u know how to testing app,to known UI/UX working good, Performance,and testing login app

Not sure if I completely understand the question?

Test the app by compiling and installing it, then try register and login ?

test all the features in the application including login and register

do know how to show this image to app script?


i make a web app from app script but the photo dont show in the web,do u know how to show the photo?

You need to show how you build your web app.

The image in google sheets you have probably constructed from the formula =image("url"). This is internal to google sheets and does not transfer elsewhere.

You will probably need to use a view url in your display app e.g.
https://drive.google.com/uc?id=1_NPfCfgpq75RWAyKl8asKQU3hcnjUu4e

how to do that?

I do not know, you need to show how you build your web app so that i can see how you might insert and image url?

this the script for the web app

JavaScripthtml file

You do not appear to be including photo in your list for the html table?

That said, it is a bit more complicated than that. You are building a data table, designed to show data, not images. You would need to do some considerable work on the html generated in order to display an image within that data table. (an <img src="imageurl"> would be needed.

You can consider this as an option, or perhaps work on the formatting and layout of your spreadsheet data, then publish this sheet, and offer the published sheet url for viewing.

Here is an example:

MyUploadedImages

where should i add that ?
and how you do this?

its done now,i just put my sheet link in app inventor.and when i press the link the image is open.thanks.

my another question is do you know how to test app to know when 20 user use my app in same time?

You will need to setup an online database (e.g. firebase, but you can use mySQL). In your app, when a user opens the app send a notice to the server to turn on their presence. When the app closes or goes to pause, send another notice to turn off their presence. Use whatever method is appropriate to count the number of users present, on the server. In case of privacy concerns, you may need to advise the user you are doing this, and get their agreement.

You will need to research the various methods required for this. I have not done it so I cannot answer your usual follow up question of "how to do that?" :wink: