Skip to content

publish to Posit Connect breaks on large titles #13662

@cscheid

Description

@cscheid

the name of a document needs to be from 3 to 64 chars in Posit Connect, and we break this.

reprex:

---
title: "Supercalifragilisticexpialidocious, Supercalifragilisticexpialidocious, Supercalifragilisticexpialidocious, Supercalifragilisticexpialidocious!"
author: Dick van Dyke and Julie Andrews
---

## Oh, no

$ quarto publish test.qmd
...
? Provider: › Posit Connect
? Publish with account: › carlos.scheidegger (https://connect.posit.it/)
[✓] Preparing to publish document
ERROR: API Error: 400 - Bad Request

Two related problems:

  • We need to create a truncated name
  • We need a better error message for failures. Connect uses the response payload for their error messages, and we ignore that.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions