---
title: "Error when importing data to R"
url: "https://openforis.support/questions/4363/error-when-importing-data-to-r"
tags: ["arena"]
status: "accepted"
score: 0
answer_count: 4
asked: "2025-11-06T08:41:39"
last_activity: "2025-11-13T07:47:59"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# Error when importing data to R

Asked by Juak on 2025-11-06

When I import data from Arena App to my RStudio project when running *tryCatch(source("system/read-data.R")* and after being successfully logged in, I keep receiving the same error whatsoever I try: restarting R, creating a new chain, trying on another DB...  
The one and only variable created by the above function returns a dataframe with a HTML on it and the following URL on the HTML:    **https://www.herokucdn.com/error-pages/application-error.html**  Any ideas or is it happening to someone else?
Thanks


## Accepted answer (score 1, by Juak on 2025-11-13)

Link: https://openforis.support/questions/4363/error-when-importing-data-to-r/4367

Solved,    
It was due to an update of the system!   
Many thanks to the support team.


## Answer (score 0, by Stefano (OF) on 2025-11-06)

Link: https://openforis.support/questions/4363/error-when-importing-data-to-r/4364

Dear user,  
We have just released a new version of Arena (2.2.2) with a fix that could have solved your issue.  
Please try to run again your chain and let us know if you still encounter the same issue.  
Many thanks,  
Open Foris Team


## Answer (score 0, by Juak on 2025-11-06)

Link: https://openforis.support/questions/4363/error-when-importing-data-to-r/4365

Dear Stefano,  
thanks for your very fast reply.  
Just tried again and it's not working. I was just wondering if it is a problem of myself (I'm doing something wrong) or it is a problem with the server since the error I am having points to heroku.  
I have been importing these same chains to my local R session correctly a month ago with the exactly same procedure.  
Thanks again.


## Answer (score 0, by Stefano (OF) on 2025-11-06)

Link: https://openforis.support/questions/4363/error-when-importing-data-to-r/4366

Dear user,  
We will send you a message to your private email address to better understand (and solve) this issue together with you.  
Many thanks,  
Open Foris Team
