hi all, does workers support calling it self? I have an API in the worker that internally does a fet

hi all, does workers support calling it self? I have an API in the worker that internally does a fetch to a different API of the same worker. I am using custom hostnames for routing, so it's publicly exposed. When doing fetch in the worker I get 522. Is couldflare prevent calling the same worker? If so is there any other way to call it?
Was this page helpful?