cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jmenas
Regular Visitor

Issues with getting Export from Appsflyer API (CSV)

Hi All,

 

I am having an issue to get data from Appsflyer API with the HTTP connector. I am not sure is because of the API Key or the functionality of the connector, but every time I request the plain URL mention below, I get an error:

Error
Action 'HTTP' failed
 
The URL
https://hq.appsflyer.com/export/ID12342323/installs_report/v5?api_token={Account owner API key should be used}&from=yyyy-mm-dd&to=yyyy-mm-dd&additional_fields=install_app_store,contributor1_match_type,contributor2_match_type,contributor3_match_type,match_type,device_category,gp_referrer,gp_click_time,gp_install_begin,amazon_aid,keyword_match_type

My Flow is pretty normal Recurrence -> Http GET -> Create a file
I have checked and the issue is a 302 error with a redirect to another site:

https://rawdata.appsflyer.com/export/token/lego_test_id123456_installs_2019-05-01_2019-05-31_ABCDEFGFJAHN

How is possible to deal with the 302 errors in this case? 

 

Flow picture:

2019-06-27 11_03_39-Edit your flow _ Microsoft Flow.png

I deleted the ID of my project for privacy issue. 

 

FYI: I test it with Excel Power Query and it is working and also with Postman I can see the data aspect. 

 

Best,
J.

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

Hi @Jmenas ,

 

Could you provide more details of the error message?

It seems that I can't access the url you provided here.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-bacao-msft ,

The API key is private so I can't give you the complete URL for the request. 

I want to do something similar to this but I can get the correct Location: http://www.alessandromoura.com.br/2018/11/21/dealing-with-http-302-in-logic-apps/

But here is a picture of the error:

 

ms flow 302 code.png

 

Best,

J.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,467)