Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect 413 #425

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Redirect 413 #425

wants to merge 5 commits into from

Conversation

spgarbet
Copy link
Member

@spgarbet spgarbet commented Dec 5, 2024

No description provided.

@spgarbet spgarbet requested a review from jubilee2 December 5, 2024 19:30
@spgarbet spgarbet requested review from obregos and removed request for jubilee2 December 12, 2024 17:09
@obregos
Copy link
Collaborator

obregos commented Dec 13, 2024

Getting 1 failed test:

Error (test-109-instrumentMethods-Functionality.R:205:5): exportPdf export the instrument PDF for a record
Error in `curl::curl_fetch_memory(config$url, h)`: URL rejected: No host part in the URL
Backtrace:
    ▆
 1. ├─redcapAPI:::exportPdf(...) at test-109-instrumentMethods-Functionality.R:205:5
 2. └─redcapAPI:::exportPdf.redcapApiConnection(...) at redcapAPI/R/exportPDF.R:56:3
 3.   └─redcapAPI::makeApiCall(rcon, body, ...) at redcapAPI/R/exportPDF.R:148:3
 4.     └─redcapAPI:::.makeApiCall_handleRedirect(...) at redcapAPI/R/makeApiCall.R:230:5
 5.       └─redcapAPI::makeApiCall(...) at redcapAPI/R/makeApiCall.R:271:5
 6.         └─base::tryCatch(...) at redcapAPI/R/makeApiCall.R:199:5
 7.           └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 8.             └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 9.               └─value[[3L]](cond)

[ FAIL 1 | WARN 0 | SKIP 13 | PASS 2062 ]

@spgarbet
Copy link
Member Author

I'm seeing this failure too now. I don't understand it. I will investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants