You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "chillywork (via GitHub)" <gi...@apache.org> on 2026/01/21 06:06:42 UTC
[I] [Bug] REST Catalog Content-Type Error with Paimon 1.3.1 [paimon]
chillywork opened a new issue, #7092:
URL: https://github.com/apache/paimon/issues/7092
### Search before asking
- [x] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.
### Paimon version
1.3.1
### Compute Engine
Flink
### Minimal reproduce step
- Paimon ver: 1.3.1
- Flink ver: 2.1.1
- REST Server: Self-developed Metadata Management Service(http://localhost:8080/paimon-rest)
- Specific Error: An error occurred while creating a table using Flink SQL: "Content-Type 'text/plain;charset=UTF-8' is not supported"
### What doesn't meet your expectations?
The result should be [INFO] Execute statement succeeded. when executing the following SQL.
### Anything else?
The result should be [INFO] Execute statement succeeded. when executing the following SQL.
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
--
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: issues-unsubscribe@paimon.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] REST Catalog Content-Type Error with Paimon 1.3.1 [paimon]
Posted by "chillywork (via GitHub)" <gi...@apache.org>.
chillywork commented on issue #7092:
URL: https://github.com/apache/paimon/issues/7092#issuecomment-3776368962
**I have successfully created the catalog using the following Flink SQL, and my local REST service has also received the request.**
Flink SQL> CREATE CATALOG `paimon_rest_test_metalake.paimon_rest_catalog`
> WITH (
> 'type' = 'paimon',
> 'uri' = 'http://localhost:8080/paimon-rest/',
> 'metastore' = 'rest',
> 'warehouse' = 'paimon_rest_test_metalake.paimon_rest_catalog',
> 'rest.client.content-type' = 'application/json',
> 'token.provider' = 'bear',
> 'token' = 'random_token_123456_for_test'
> );
[INFO] Execute statement succeeded.
**switch to catalog paimon_rest_test_metalake.paimon_rest_catalog:**
Flink SQL> use catalog `paimon_rest_test_metalake.paimon_rest_catalog`;
[INFO] Execute statement succeeded.
**create table events:**
Flink SQL> CREATE TABLE events (
> event_id INT,
> user_id INT,
> event_type STRING
> );
[ERROR] Could not execute SQL statement. Reason:
org.apache.paimon.rest.exceptions.RESTException: Unable to process: Content-Type 'text/plain;charset=UTF-8' is not supported
--
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: issues-unsubscribe@paimon.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org