You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "thatran (via GitHub)" <gi...@apache.org> on 2023/05/03 19:10:43 UTC

[GitHub] [pinot] thatran opened a new issue, #10717: can't add schema using Pinot UI, always get the error " HTTP 415 Unsupported Media Type "

thatran opened a new issue, #10717:
URL: https://github.com/apache/pinot/issues/10717

   Problem is easy to observe, just try adding any table schema using the Pinot UI, you'll get the error " HTTP 415 Unsupported Media Type ".
   
   Using Chrome Developer Tools, you can see it's because the schema /validate rest api is called with incorrect Content-Type request header:
   Content-Type: text/plain;charset=UTF-8
   instead of 
   Content-Type: application/json
   
   Workaround is to add the schema by calling the rest API directly (using curl or SwaggerUI) instead of via the Pinot UI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] thatran commented on issue #10717: can't add schema using Pinot UI, always get the error " HTTP 415 Unsupported Media Type "

Posted by "thatran (via GitHub)" <gi...@apache.org>.
thatran commented on issue #10717:
URL: https://github.com/apache/pinot/issues/10717#issuecomment-1570661768

   i think it's my mistake, i cannot reproduce this in OSS pinot, only in ST pinot, so i will close this issue and open an ST jira


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] thatran closed issue #10717: can't add schema using Pinot UI, always get the error " HTTP 415 Unsupported Media Type "

Posted by "thatran (via GitHub)" <gi...@apache.org>.
thatran closed issue #10717: can't add schema using Pinot UI, always get the error " HTTP 415 Unsupported Media Type "
URL: https://github.com/apache/pinot/issues/10717


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] jonasgeiregat commented on issue #10717: can't add schema using Pinot UI, always get the error " HTTP 415 Unsupported Media Type "

Posted by "jonasgeiregat (via GitHub)" <gi...@apache.org>.
jonasgeiregat commented on issue #10717:
URL: https://github.com/apache/pinot/issues/10717#issuecomment-1536563161

   I'm unable to reproduce this with pinot version 0.12.0 using Chrome. 
   
   I could clearly see the content-type being application/json; charset=UTF-8 at my end.
   
   Do you have more information on how to reproduce this ?
   
   ![Screenshot 2023-05-05 at 19 26 29](https://user-images.githubusercontent.com/288105/236525655-25a3c084-ee95-45ef-a15f-d984697004b6.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] navina commented on issue #10717: can't add schema using Pinot UI, always get the error " HTTP 415 Unsupported Media Type "

Posted by "navina (via GitHub)" <gi...@apache.org>.
navina commented on issue #10717:
URL: https://github.com/apache/pinot/issues/10717#issuecomment-1550770810

   @thatran which pinot version did you try? I am able to add the schema using the UI and don't see any error about unsupported media type. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org