[SOLVED] Error on moralis-v1 js. Unable to connect to the Parse API

My Dapp used to work but after i changed the moralis.js location to

https://unpkg.com/[email protected]/dist/moralis.js

i’m getting this error when i load the page:

Uncaught (in promise) Error: XMLHttpRequest failed: ā€œUnable to connect to the Parse APIā€
at handleError (moralis.js:26472:15)

Is your server awake? What is your serverUrl?

Yes, it’s awake. https://whn1iduijwcr.usemoralis.com/PixelatedGanja/

The Moralis server you’re trying to connect to (https://7vlr1zsqcmnr.usemoralis.com:2053/server) with Moralis.start in your script doesn’t seem to exist.

You’re a life savior! I don’t know how i didn’t noticed it before… I’ve changed the script but forgot that the servers don’t update it automatically, i just did the ?v=2 ā€œtrickā€ and it worked. Thanks!