I am trying to delete a row in Fusion table using the ROWID and the appropriate command, but keep getting the 403 error message and of course the Row is not deleted.
Any idea for the root cause?
I suspect it is kind of authentication issue, but isnt it enough to use the corret *.p12 file, correct email and the table ID?
--
I am trying to delete a row in Fusion table using the ROWID and the appropriate command
DELETE FROM <table_id>{ WHERE ROWID = <row_id>}
but I am keep getting the 403 error message and of course the Row is not deleted.
Any idea for the root cause?
I suspect it is kind of authentication issue, but isnt it enough to use the corret *.p12 file, correct email and the table ID?
--
see here how to set up the service account correctly
--
Thank you both for your replies.
However, I just added a new screen to an application which already uses Fusion table. It already insert new row and reads data and all is working. I tried to add delete feature and looks like I made something wrong with authentication, that is why I raised this question
So I will be happy to know if one of you has something in mind
It already insert new row and reads data and all is working. I tried to add delete feature and looks like I made something wrong with authentication
Show us a screenshot of each Designer Fusion Table Control in each Screen.
Also show us the blocks for your delete operation,
and the blocks you use to get the ROWID for the deletion.
Also show us a screen shot of the run time error.
And throw in an exported .aia for good measure, in addition
to all the screen shots.
my guess is, you forgot to share the table with the service account, see step 4.3 here
--
to follow the setup exactly and completely step by step most probably would solve the issue...
--
Dont bother yourself anymore with that, I found what did I miss
--
I forgot to mark the "UseServiceAuthentication"
Thanks anyway for you both for your willing to help
댓글 없음:
댓글 쓰기