[ 
https://issues.apache.org/jira/browse/SOLR-17907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jalaz Kumar updated SOLR-17907:
-------------------------------
    Attachment: Screenshot 2026-05-22 at 3.31.43 AM.png

> v2 reload-core API triggers 415 status code when no async ID provided
> ---------------------------------------------------------------------
>
>                 Key: SOLR-17907
>                 URL: https://issues.apache.org/jira/browse/SOLR-17907
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrJ, v2 API
>    Affects Versions: 10.0
>            Reporter: Jason Gerlowski
>            Priority: Minor
>         Attachments: Screenshot 2026-05-22 at 3.31.43 AM.png
>
>
> The v2 "reload core" API takes a request body that should be optional (the 
> only req body param is "async ID"), but currently if the request body is 
> omitted entirely then Solr responds with a 415 ("Unsupported Media Type") 
> status code.
> This is easy to reproduce using the "CoresApi.ReloadCore" SolrJ object.
> We should find a way to ensure that Solr accepts these "empty" request bodies 
> and/or ensure that SolrJ sends a stub body on requests (e.g. "{}" for 
> application/json)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to