Replies: 6 comments 3 replies
-
I am also getting this issue. I am unable to add/update user name. |
Beta Was this translation helpful? Give feedback.
-
The header appears to be case-sensitive at the moment, can you try |
Beta Was this translation helpful? Give feedback.
-
@denolfe This does indeed solve the problem, thank you 🙌 |
Beta Was this translation helpful? Give feedback.
-
Not workingcurl http://localhost:3000/api/users \
-H 'Authorization': users API-Key 995f9aff-042d-4f4b-9890-088d2ca3517a Error message on dev server
This works from browser i already logged infetch("http://localhost:3000/api/users", {
headers: {
},
}); |
Beta Was this translation helpful? Give feedback.
-
Hey @matart15 you likely have another issue if you are indeed formatting your API-Key header correctly. At this point, this is not an issue with Payload and is only an issue with your implementation. I will convert this to a discussion and we're happy to continue helping! |
Beta Was this translation helpful? Give feedback.
-
Same request with JWT and API-Key. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Link to reproduction
No response
Payload Version
3.0.0-beta.82
Node Version
v20.12.2
Next.js Version
15.0.0-canary.104
Describe the Bug
result
looks like it was working in may 1st by @fardeem. #6130
Now I cant make it work
my
Users
collectionReproduction Steps
npx create-payload-app@latest
pnpm dev
Adapters and Plugins
No response
Beta Was this translation helpful? Give feedback.
All reactions