Skip to content

Provide a better error message when posting by API without having passed the ethical consent funnel #228

@tanius

Description

@tanius

Currently, when trying to use the posts.json API endpoint with an Admin API key (and probably the same with a User API key as well), the response status will be "403 Forbidden" and the response body will contain the following JSON:

{
    "errors":["You are not permitted to view the requested resource."],
    "error_type":"invalid_access"
}

That's hard to debug. Please provide a hint that this error happened because of missing ethical consent (our field edgeryders_consent).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions