Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[6.x] Ensure REST API authentication errors return consistent JSON#15077

Open
daun wants to merge 4 commits into
statamic:6.xstatamic/cms:6.xfrom
daun:feat/api-authentication-exceptiondaun/statamic:feat/api-authentication-exceptionCopy head branch name to clipboard
Open

[6.x] Ensure REST API authentication errors return consistent JSON#15077
daun wants to merge 4 commits into
statamic:6.xstatamic/cms:6.xfrom
daun:feat/api-authentication-exceptiondaun/statamic:feat/api-authentication-exceptionCopy head branch name to clipboard

Conversation

@daun

@daun daun commented Jul 24, 2026

Copy link
Copy Markdown
Contributor
WWW-Authenticate: Bearer
{
    "message": "Unauthenticated."
}

@daun

daun commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Looks like the tests were cancelled by GitHub for some reason. Not sure why or how to rerun them.

@duncanmcclean

Copy link
Copy Markdown
Member

Looks like the tests were cancelled by GitHub for some reason. Not sure why or how to rerun them.

It was probably GitHub - I was having issues with actions at the same time. I've just re-run them for you. 😄

@daun

daun commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

@duncanmcclean Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REST API: Unhelpful response on unauthenticated requests

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.