When I deploy the greetings sample app (created by “dfx new sample_app”)to the IC network and try to browse it I get the error below. However, it works on the local replica and I get the UI on the browser. What could be the issue so that the local replica has no problem with it?
Failed to fetch response: Error: Call failed:
Canister: xyz-igaab-aacai-ad6ia-cai
Method: http_request (query)
“Status”: “rejected”
“Code”: “DestinationInvalid”
“Message”: “IC0302: Canister xyz-igaab-aacai-ad6ia-cai has no query method ‘http_request’”