xiao8579 / QuickCapture-Testing

Repo for feedback and issues during QuickCapture testing events.
0 stars 0 forks source link

Attachments arrive via email with invalid header. #13

Closed talllguy closed 4 years ago

talllguy commented 4 years ago

I discovered an issue with the attachment handling.

Scenario

Using Interomat: get QC data, filter on attribute, send Gmail with attachment from QC as attachment. image

Result

Get email successfully ✅ Photo attachment has invalid format ❌ image

talllguy commented 4 years ago

I wonder if this has something to do with the token of the HTTP request. Here's the input for the HTTP add file module:

[
    {
        "url": "https://services.arcgis.com/njFNhDsUCentVYJW/arcgis/rest/services/QuickCapture_OSM_Demo_02173e8bc0ac47db80508c3c143f0488/FeatureServer/2/8/attachments/5",
        "method": "get",
        "shareCookies": false
    }
]

Notice there is no token? Should that be pulled from the QC project? I will fiddle around with pulling that.

talllguy commented 4 years ago

I bet this will work. image

talllguy commented 4 years ago

🚀 🍾 That fixed it!

image

engelm1324 commented 4 years ago

This worked for me to get the attachments. Without the token the attachment will not work for me.

Leandermen commented 4 years ago

Reproducing the workflow it works for me too even works with uploading to onedrive for business.

image

engelm1324 commented 4 years ago

Reproducing the workflow it works for me too even works with uploading to onedrive for business.

image

I did a version of this, but with Office365 email.

xiao8579 commented 4 years ago

Bug fixed in QuickCapture Intergromat app. Closing.