Skip to content

Video titles with non-ASCII characters cause HTTP 400 when using addVideo #39

Description

@lbkulinski

Hello. When I try to create a video with "Döme" in the title for instance, I get back HTTP 400. Does the library encode anything when making the requests to Vimeo or am I responsible for that? I am using the following code:

File tempFile = tempPath.toFile();

String name = metadata.getTitle();

Map<String, String> privacy = Map.of(
    "view", "unlisted"
);

String videoUri;

try {
    videoUri = vimeo.addVideo(tempFile, name, privacy);
} catch (IOException | VimeoException e) {
    String message = "Failed to upload video to Vimeo";

    throw new ProcessingException(message, e);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions