-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Lines 11514 to 11518 in 1578d7e
| pub async fn job_status<'a>( | |
| &'a self, | |
| async_: Option<bool>, | |
| jobid: f64, | |
| ) -> Result<ResponseValue<types::JobStatusResponse>, Error<types::RcError>> { |
Hi, is this function suppose to use a float? It seems rclone fails to parse it, requesting for an int instead.
Error Response: status: 400 Bad Request; headers:
{
"accept-ranges": "bytes",
"content-type": "application/json",
"server": "rclone/v1.72.1",
"x-rclone-jobid": "85",
"date": "...",
"content-length": "186"
};
value: RcError { error: "couldn't parse key \"jobid\" (84.0) as int64: strconv.ParseInt: parsing \"84.0\": invalid syntax", input: Some({"jobid": String("84.0")}), path: "job/status", status: 400 }
Edit:
Just realized there is a dedicated openapi repo (the link in the README redirects me to the rclone-ui repo). In any case it might be related to the param using number instead of integer
https://github.com/rclone-ui/rclone-openapi/blob/4e0de48edff4ac27023b5f305a620ced6bfd4817/openapi.yaml#L2380-L2386
As to not spam your inbox I will leave this issue here, my bad!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels