Implement IndieError Subclasses #114

Open
opened 2026-05-11 10:43:32 +02:00 by inhji · 0 comments
Owner

Docs

  • HTTP 403: "error":"forbidden" - The authenticated user does not have permission to perform this request.
  • HTTP 403: "error":"insufficient_scope" - The scope of this token does not meet the requirements for this request. The client may wish to re-authorize the user to obtain the necessary scope. The response MAY include the "scope" attribute with the scope necessary to successfully perform this request.
  • HTTP 401: "error":"unauthorized" - No access token was provided in the request. Note that this is different from the HTTP 403 response, as the 403 response should only be used when an access token is provided and the user does not have permission to perform the request.
  • HTTP 400: "error":"invalid_request" - The request is missing a required parameter, or there was a problem with a value of one of the parameters

Errors

  • IndieError.Forbidden
  • IndieError.InsufficientScope
  • IndieError.Unauthorized
  • IndieError.InvalidRequest

https://micropub.spec.indieweb.org/#error-response

## Docs - HTTP 403: "error":"forbidden" - The authenticated user does not have permission to perform this request. - HTTP 403: "error":"insufficient_scope" - The scope of this token does not meet the requirements for this request. The client may wish to re-authorize the user to obtain the necessary scope. The response MAY include the "scope" attribute with the scope necessary to successfully perform this request. - HTTP 401: "error":"unauthorized" - No access token was provided in the request. Note that this is different from the HTTP 403 response, as the 403 response should only be used when an access token is provided and the user does not have permission to perform the request. - HTTP 400: "error":"invalid_request" - The request is missing a required parameter, or there was a problem with a value of one of the parameters ## Errors - IndieError.Forbidden - IndieError.InsufficientScope - IndieError.Unauthorized - IndieError.InvalidRequest https://micropub.spec.indieweb.org/#error-response
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
inhji/hajur#114
No description provided.