[ 
https://issues.apache.org/jira/browse/SOLR-17907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082708#comment-18082708
 ] 

Jalaz Kumar commented on SOLR-17907:
------------------------------------

[~dsmiley] [~gerlowskija] 

I am not able to reproduce the issue on v2 api, am I missing out on something? 

!Screenshot 2026-05-22 at 3.31.43 AM.png|width=518,height=363!

> 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