I am trying a build a zap for service titan and google drive integration.
The Zap should take all the attachement from the job in service titan and upload it to google drive.
I have not been able to successfully do so, I am explaining my method below
- I am using API Request(Beta) in ServiceTitan
- Actions GET Method
https://api.servicetitan.io/forms/v2/tenant/<tenantID>/jobs/attachment/<attachmentID> - It gives following error
Raw request failed. Please check your URL. Error: uri requested responds with a redirect, redirect mode is set to error: https://api.servicetitan.io/forms/v2/tenant/1616733733/jobs/at
When I do a curl actually I am getting a redirect URL for a azure blob which when hit get the attached file, but as the zap is giving above error I am not able to move forward.
Can anyone suggest me, how should I move forward to solve this issue.
Are there any other alternative present to query the attachmentfrom service titan and upload to google drive, which will not give above error or will not use redirection.