Azure-Samples / Azure-Samples/azure-sql-db-invoke-external-rest-endpoints

The charset value of the response's Content-Type header is not supported.

Open
#8 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
37
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to call an API which is hosted in APIM (*.azure-api.net). Its working find when I do via Postman or normally.

When I execute "sp_invoke_external_rest_endpoint", its giving me the below error.

Msg 31641, Level 16, State 1, Procedure sys.sp_invoke_external_rest_endpoint_internal, Line 1 [Batch Start Line 0]
**The charset value of the response's Content-Type header is not supported.**

Can you please let me know what I am missing?

Contributor guide

Open the contributing guide

Research direction

No repository file or test is named. Start by reproducing the call through sys.sp_invoke_external_rest_endpoint against the APIM (*.azure-api.net) endpoint and inspect the response Content-Type charset; done means determining whether the response can be handled by Azure SQL or documenting the required supported response format.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, sql
Domain
api, cloud, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.