======== TEMPLATE BUG FORM ========
Wappler Version : 3.3.1
Operating System : Mac
Project type: NodeJS, MySql8
Expected behavior
I should be able to upload to S3 and choose path as the output to append the correct filename to my database field.
Actual behavior
it just creates [Object] [object] when I try to input the value into the DB using only the output ‘path’ of the S3 PUT action.
To be precise, if I manually include the full bucket URL and then apend the PUT path output this is what I get:
(https://websitename-public-live.s3-us-west-1.amazonaws.com/user-avatar/)[object Object]
If I just use the PUT output without manually including the URL in the string, it just errors (500):
stack: "Error: ER_BAD_FIELD_ERROR: Unknown column ‘ETag’ in ‘field list’
How to reproduce
Upload a file to S3 via Server Action and try to use the output of the PUT file into the DB to then use the image.