[API] Direct upload endpoint returns 422 with Bearer token authentication #2054
Closed
robzolkos
started this conversation in
Ideas and Issue Triage
Replies: 3 comments
-
|
Good catch @robzolkos , I'll take a look at this tomorrow. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ah, I'm running into the same issue here. I created a PR, maybe you can look at #2065. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Fixed this in #2079 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
/rails/active_storage/direct_uploadsendpoint documented in https://github.com/basecamp/fizzy/blob/main/docs/API.md#attaching-files-to-rich-text returns a422 Unprocessable Entityerror when using Bearer token authentication.Steps to reproduce:
Expected behavior:
Returns JSON with direct_upload URL and signed_id as documented.
Actual behavior:
Returns 422 Unprocessable Entity HTML error page.
Notes:
Beta Was this translation helpful? Give feedback.
All reactions