[SOLVED] Error: Request failed with status code 403, moralis-admin-cli

moralis-admin-cli watch-cloud-folder get-logs
Error: Request failed with status code 403

moralis-admin-cli watch-cloud-folder --moralisApiKey *** --moralisApiSecret *** --moralisSubdomain **.usemoralis.com 
--autoSave 1 --moralisCloudfolder D:\..\moralis-cloud-func\cloud
...
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Request failed with status code 403

The CLI API Key and CLI API Secret parameters are copied ,Can’t go wrong

It was normal the other day

Update and restart have been tried

We still get an error 403

Did you try with another server too?

I just created a new server

It’s the same problem

These two parameters are the same input for the same account
--moralisApiKey --moralisApiSecret

Only subdomains are different
--moralisSubdomain

you can try to regenerate them in admin interface, with regenerate all secrets

Regenerate all secrets also tries

There is no effect

But it’s back to normal today. Strange??

The parameters don’t change at all

yes, strange, you didn’t change the parameters after resetting all secrets? as in, it works with old parameters?

It will be implemented on April 20

Regenerate all secrets also tries

There is no effect

We still get an error 403

But try again on April 21st and it will work

it works fine now? just to make sure that the problem was fixed somehow

Yes, it’s normal now

1 Like

this is happening to me now, i can’t sync cloud folder :frowning: same error… i don’t see any clues here about the root cause :((( )

is the server working fine? it worked before with same command?

you can still use legacy.moralis.io and edit the cloud code directly there

same issue here and it also happens with ā€œconnect-local-devchainā€ option even when the connection works with raw FRPC binary.

This is a brand new server with just 3 days, and I also try regenerating all the secrets with same behavior

NEXT_PUBLIC_APP_ID=GXWqEgDRYAb3cJTAlrvZCtHCcwIEXiYMUbtUfXqT
NEXT_PUBLIC_SERVER_URL=https://rmjhzsvwavyk.usemoralis.com:2053/server

If it works with frpc directly then you can use that