Back

Create an API Key Error : param "name" is not optional

  • 0
  • Tools
Bouahaza
6 Mar, 2023, 17:02

I go fresh install of appwrite 1.2.1 and try to create a key from console, but git this error message wich block save

NB: Add "Console" tag ?

TL;DR
Issue: When attempting to create an API key, there is an error stating that the parameter "name" is not optional. Solution: Refresh the page and try again. Additional Information: - A related issue can be found here: <https://github.com/appwrite/appwrite/issues/4847> - There is a suggestion to open an issue on the GitHub repository for further debugging. - It seems that under certain conditions, the "name" parameter is not being sent in the request. - Some users have been able to replicate the bug, while others have not. - One user was able to create a key by relaunching the
Bouahaza
6 Mar, 2023, 17:05
Bouahaza
6 Mar, 2023, 17:06

Here browser console

Bouahaza
6 Mar, 2023, 17:06

And docker log

Bouahaza
6 Mar, 2023, 17:07

And payload

Bouahaza
6 Mar, 2023, 17:07

name isn't send on request

Bouahaza
6 Mar, 2023, 17:23

Fun fact. I relaunch POST request with name on payload, got 201, I can't see it on listing but now I can create other <:appwritebunnyears:946072155567820821>

Bouahaza
6 Mar, 2023, 17:26

Test it via other fresh install, can't replicate this bug..

Bouahaza
6 Mar, 2023, 17:28

Apparently, on some conditions, name isn't send to request? To add on your backlog <:appwriteupvote:899677724615016528>

joeyouss
6 Mar, 2023, 18:05

Hey. can you open an issue here so we are able to debug this: https://github.com/appwrite/appwrite Seems like you don't need help anymore on this or do you?

Tharkys
18 Jul, 2023, 14:12

Interestingly, I just ran into this same issue.

Drake
18 Jul, 2023, 23:41

This is the related issue: https://github.com/appwrite/appwrite/issues/4847

For now, refresh the page and try again.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more