Hi everyone,
I'm trying to figure out adding and removing skeleton annotations in catmaid with rcatmaid. Here's what I have been doing so far:
(first argument is skid as reported by catmaid "Skeleton ID" field in neuron navigator)
>catmaid_set_annotations_for_skeletons(2357725, "testtt", pid = 8)
logged by nginx on server: "POST ///8/annotations/add HTTP/2.0" 200 115 "-" "libcurl/7.68.0 r-curl/4.3.3 httr/1.4.4"
> catmaid_get_annotations_for_skeletons(2357725, pid = 8)
skid annotation id uid
2357725 2357725 testtt 2429736 16
logged by nginx on server: "POST ///8/annotations/forskeletons HTTP/2.0" 200 93 "-" "libcurl/7.68.0 r-curl/4.3.3 httr/1.4.4"
> catmaid_remove_annotations_for_skeletons(2357725, "testtt", pid = 8)
Error in catmaid_fetch(path, body = post_data, include_headers = F, simplifyVector = T, :
Internal Server Error (HTTP 500).
logged by nginx on server: "POST ///1/neurons/from-models HTTP/2.0" 500 2187 "-" "libcurl/7.68.0 r-curl/4.3.3 httr/1.4.4"
The last one makes absolutely no sense. Does anyone have any ideas what could be going on here?
Software versions::
R 4.2.2.
2022.07.2 Build 576
I'm not sure how to check natverse/rcatmaid version. But after getting this error I ran natverse::natverse_update(update=TRUE) and the problem persists.
CATMAID 2021.12.21-2964e04e6e9772aff
Though CATMAID version shouldn't matter here as the request seems to be malformed before it even reaches CATMAID.
Any help would be appreciated.
Best,
Sanja