I hope someone might be able to help me with API 500 js errors (see below) when trying to publish a qmd to quarto pubs.
I am using a personal PC Windows 11 computer with administrative privileges. I have the current R (4.3.1) and Posit 2023-9-1 Build 494. I have the current version of Java (which I checked after seeing the js errors below). Some qmds publish fine, others throw this error consistently.
I understand API 500 errors are usually a read/write permission error code. So, thought it was either the APIs I was using in two of the qmds to get data or the leaflot plot in the other one. Removing API code snippets and replacing with downloaded data did not resolve the problem and neither did removing the leaflet code snippet.
Here is the yaml:
format:
html:
toc: true
code-fold: true
code-copy: true
execute:
warning: false
messages: false
Here is the error:
[>] Preparing to publish document
ERROR: API Error: 500 - Internal Server Error
Error: API Error: 500 - Internal Server Error
at QuartoPubClient.uploadDeployFile (file:///C:/Program%20Files/Quarto/bin/quarto.js:111414:23)
at async file:///C:/Program%20Files/Quarto/bin/quarto.js:109047:13
at async withSpinner (file:///C:/Program%20Files/Quarto/bin/quarto.js:56614:9)
at async handlePublish (file:///C:/Program%20Files/Quarto/bin/quarto.js:109040:5)
at async publishDocument (file:///C:/Program%20Files/Quarto/bin/quarto.js:121352:38)
at async publish5 (file:///C:/Program%20Files/Quarto/bin/quarto.js:121448:132)
at async doPublish (file:///C:/Program%20Files/Quarto/bin/quarto.js:121404:13)
at async publishAction (file:///C:/Program%20Files/Quarto/bin/quarto.js:121415:9)
at async Command.fn (file:///C:/Program%20Files/Quarto/bin/quarto.js:121392:9)
at async Command.execute (file:///C:/Program%20Files/Quarto/bin/quarto.js:8437:13)