Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

getSubscriptionPublishingCredentials results in error

See original GitHub issue


I’m using the following packages:

"azure-arm-website": "^0.11.2",
"ms-rest-azure": "^1.15.0"

When I try to get the publishing credentials via

let client = new WebSiteManagement(<credentials>, <subscriptionId>);, res) => {
   // App logic

it results in the following error: "The resource type could not be found in the namespace 'Microsoft.Web' for api version '2015-08-01'."

The method does a GET request. Is the REST API maybe expecting a call via POST? Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

amarzaverycommented, Oct 18, 2016

This is good info to start with. We can pass this info to guys on the server side and get them to look at this.

arafatocommented, Oct 21, 2016

@ruslany @amarzavery thank you so much for your excellent answer! Really appreciate it! That fixed it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microsoft.Azure.Management.WebSites.xml 1.0.1
GetSubscriptionPublishingCredentials(Microsoft. ... Else, the resulting list contains web apps from the start of the ... Might contain an error message.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found