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.

No message in body for non-existent endpoint

See original GitHub issue

Steps to reproduce:

  1. Send request to endpoint not listed in SCIMEndpoints.
  2. Get response with 404 status code without body.

Expected result: Standard body with json should be returned in case of 4xx errors (according to RFC-7644, 3.12 HTTP Status and Error Response Handling)

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "status": "404",
    "scimType": "unknown",  
    "detail": "some text"
}

Issue Analytics

  • State:closed
  • Created 7 months ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
simpleidservercommented, Mar 6, 2023

Indeed the DefaultController was not complete. The controller has been updated in the branch release\v3.0.2, and the issue is fixed

0reactions
simpleidservercommented, Mar 22, 2023

My bad… the issue is fixed in the branch “release/v3.0.3”. The following changes have been made:

  • Set “ScimType” to unknown
  • Add the missing PATCH operation
Read more comments on GitHub >

github_iconTop Results From Across the Web

Getting "No message available" error with Spring Boot ...
So for nonexistent URL I've got 404 which is fair with "No message available" which is strange. Share.
Read more >
When to use HTTP status code 404 in an API
If no data with such an ID exists, a 404 HTTP response is perfectly appropriate. Of course, the response body should, in any...
Read more >
Troubleshooting Error Messages
This type of error message occurs when a required field for the requested endpoint was not properly specified. Below you will find common...
Read more >
API calls and HTTP Status codes
What about a request for a non existent protected-vader.jpg file? It will first ask for credentials (that's a 401 code) and if the ......
Read more >
Queue not found · Issue #2612 · localstack ...
As for API calls, these are PurgeQueueRequest, SendMessageRequest, and ReceiveMessageRequest. Error Message: Amazon.SQS.AmazonSQSException : The ...
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