Apoc.import.graphml() username and password in url not working?

I attempted to run the fallowing command in neo4j browser (I apologize I had to remove the filename, username, domain, and password from the command for privacy reason and replaced them with place holders):

CALL apoc.import.graphml("https://username%40domain:password@file.graphml")

And got the fallowing error:

Failed to invoke procedure 'apoc.import.graphml': Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

the url I used does work when curling from terminal so it seems correct, does neo4j not allow username and password in the url? is there a work around for this, thank you

neo4j version: 4.0

Are you running this against an Aura instance? This procedure is in the APOC extended library, so my guess is that the security policies in Aura are preventing it.