question-mark
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.

Nodal 0.7: '501 Not Implemented' on DELETE /access_tokens

See original GitHub issue

Hi, I’ve follow your screencast part 3 using nodaljs 0.7.x but stuck on implementing logout. I got ‘501 Not Implemented’ while doing ‘DELETE /access_tokens’. It’s weird because I already have delete() method on Access Token Controller. I can doing GET or POST /access_tokens without problem.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
keithwhorcommented, Feb 20, 2016

@pewh, try changing destroy() to del() and LMK if you have the same issue.

The problem is the destroy endpoint is only triggered provided an id.

0reactions
pewhcommented, Feb 20, 2016

It’s work, dude. Thanks! 🍻

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the HTTP 501 Not Implemented Error on Your Site
The HTTP 501 Not Implemented status code indicates that the server does not support the functionality required to fulfill the request.
Read more >
octokit/auth-app.js: GitHub App authentication for JavaScript
@octokit/auth-app implements authentication for GitHub Apps using JSON Web Token, installation access tokens, and OAuth user-to-server access tokens.
Read more >
Error 501 Not Implemented: how to fix it and main causes
Error 501 HTTP Not Implemented occurs when a site tries to use a method unavailable on the server. In this post we cover...
Read more >
Agents - Configuration File Reference | Consul
Use agent configuration files to assign attributes to agents and configure multiple agents at once. Learn about agent configuration file parameters and ...
Read more >
Generated Model gives 501 when trying to use the delete on ...
I created a model using the command: slc loopback:model. I did not change anything else, so the model.js is default and the model.json...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found