Back

[SOLVED] Document not actually created!?

  • 0
  • Functions
Infinil
10 Sep, 2023, 02:49

yep also its a mimic environment of functions but running locally (testing purposes)

TL;DR
Title: [SOLVED] Document not actually created!?; Messages: User encountered an issue with creating a document. They updated the cron and changed a value, but the old key did not work. User checked the scopes and realized the problem was with the old key. User created a new key. Support asked if the API key was valid and if relationships were being used. User confirmed they were using a secret key with all permissions. Support suggested using https and user encountered an error. Support asked if the endpoint was using https. User stated they were using their own dictionary of variables and running locally for testing purposes.
Infinil
10 Sep, 2023, 02:49

so i have made my own dict of variables

Drake
10 Sep, 2023, 02:50

And you're still seeing this list?

Are you using https for the endpoint?

Infinil
10 Sep, 2023, 02:50
Drake
10 Sep, 2023, 02:50

You need to use https

Infinil
10 Sep, 2023, 02:51

oh finally gettng an error

Infinil
10 Sep, 2023, 02:51
Infinil
10 Sep, 2023, 02:51

so the https did work

Infinil
10 Sep, 2023, 02:51

but i am using secret key with all perms

Drake
10 Sep, 2023, 02:52

Are you using relationships?

Infinil
10 Sep, 2023, 02:52

not in this project

Drake
10 Sep, 2023, 02:53

Are you sure you API key is valid?

Infinil
10 Sep, 2023, 02:53

i can create a new one

Infinil
10 Sep, 2023, 02:53

just to be sure

Infinil
10 Sep, 2023, 02:55

the problem is in old key

Infinil
10 Sep, 2023, 02:55
Infinil
10 Sep, 2023, 02:55

weird not sure why didnt the old key work lemme cross check everything in that (scopes and all)

Infinil
10 Sep, 2023, 02:57

the old key is the same 🤔

Infinil
10 Sep, 2023, 02:58
Infinil
10 Sep, 2023, 02:58

ohhh

Infinil
10 Sep, 2023, 02:58

i just clicked on update after changing a random value

Infinil
10 Sep, 2023, 02:59

and now that key works

Infinil
10 Sep, 2023, 02:59

kinda similar to how u had to update cron so it can schedule again

Infinil
10 Sep, 2023, 07:44

[CLOSED] Document not actually created!?

Infinil
10 Sep, 2023, 07:45

[SOLVED] Document not actually created!?

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