Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Data Lake Insight/ FAQs/ APIs/ Why Is Error "unsupported media Type" Reported When I Subimt a SQL Job?

Why Is Error "unsupported media Type" Reported When I Subimt a SQL Job?

Updated on 2023-05-19 GMT+08:00

In the REST API provided by DLI, the request header can be added to the request URI, for example, Content-Type.

Content-Type indicates the request body type or format. The default value is application/json.

URI for submitting a SQL job: POST /v1.0/{project_id}/jobs/submit-job

Content-Type can be only application/json. If Content-Type is set to text, "unsupported media Type" is displayed.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback