Uploading JSON to S3 results in [object Object] only in native iOS

I am using the S3 resource to upload both images and JSON to different directories within my bucket. Images upload successfully in both the web-based IDE and when opening the native iOS app. However, for JSON, the data only de-serializes properly on the web-based IDE. When I upload through iOS, the data is always a 15B file with [object Object] as the content. I tried with both a JSON object and string serialized JSON, but the result was the same. Incidentally, I also tried uploading a string to a CSV file, which worked with the IDE, but failed to upload through the app. I was successful writing JSON to S3 via REST, so I think something may be wrong with the S3 upload component.



debug_3

debug_5

Thanks for this detailed report, @e6macht9! I'm seeing the same issue. I'll follow up if our team ships a fix :pray:

1 Like