Hi, Thanks for the report.
It comes from 'visit-snapshot-url' returning #<unspecified> instead of #f. Then 'swh-url' fails because the 'path' argument is not a string. Well, I do not how to fix it. I am confused by: --8<---------------cut here---------------start------------->8--- ;; <https://archive.softwareheritage.org/api/1/origin/52181937/visits/> (define-json-mapping <visit> make-visit visit? json->visit (date visit-date "date" string->date*) (origin visit-origin) (url visit-url "origin_visit_url") (snapshot-url visit-snapshot-url "snapshot_url" string*) ;string | #f (status visit-status "status" string->symbol) ;'full | 'partial | 'ongoing (number visit-number "visit")) --8<---------------cut here---------------end--------------->8--- and why it is not string or #f. Ludo, any tips? :-) All the best, simon