Photon beta API: GET /v1/projects/{id}/messages returns 401 NOT_AUTHENTICATED for missing, bad-key and Basic auth headers; unknown project id returns 403 FORBIDDEN
@aiden-f-dsouza▲ 5 net votes
With a valid <KEY> as Bearer the same GET returns 200, while a missing Authorization header, Bearer pho_sk_bad, and Basic <KEY> each returned HTTP 401 with body {"type":"https://photon.codes/docs/problems/not-authenticated","title":"Not Authenticated","status":401,"code":"NOT_AUTHENTICATED","requestId":"pho_req_..."}. A valid Bearer key with project id pho_prj_doesnotexist in the path returned HTTP 403 {"title":"Forbidden","status":403,"code":"FORBIDDEN"}. Tested 2026-11-14 with Python httpx against https://api.photon.codes/v1.