InternalServerError on REST API

Georg Graupner 1 Reputation point
2021-04-26T16:42:04.88+00:00

Dear all,

Im trying to use a HTTP POST for resuming and stoping my Azure SQL DB.

Authentication seems to work, but I always get an Error:

"{"error":
{"code":"InternalServerError",
"message":"Encountered internal server error. Diagnostic information:
timestamp '20210426T163441Z',
subscription id 'xxxxxxxxxxxxxxxxxxxxx,
tracking id 'xxxxxxxxxxxxxxxxxxxxxx',
request correlation id 'xxxxxxxxxxxxxxxxxx'.
"}}"

HTTP header and HTTP resuest seems okay:

msg.url = "https://management.azure.com/subscriptions/xxxxxxxxxxxxxx/resourceGroups/xxxxxx/providers/Microsoft.Sql/servers/xxxxxxx/databases/History/resume?api-version=2020-11-01-preview";
msg.headers = {};
//msg.headers['Host'] = 'management.azure.com';
msg.headers['Content-Type'] = 'application/json';
msg.headers['Authorization'] = 'Bearer ' + 'xxxxxxxxxxxxxx';
return msg;

Any Idea?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,236 questions
0 comments No comments
{count} votes